virtio-9p: fix compilation error.
authorKONRAD Frederic <fred.konrad@greensocs.com>
Mon, 14 Jan 2013 21:52:02 +0000 (22:52 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 15 Jan 2013 00:52:39 +0000 (18:52 -0600)
Fix the compilation error introduced by msg new field.

CC    hw/9pfs/virtio-9p.o
In file included from /home/konradf/Documents/safe/greensocs/virtio-project/x86-qemu/qemu/hw/9pfs/virtio-9p.c:17:0:
/home/konradf/Documents/safe/greensocs/virtio-project/x86-qemu/qemu/hw/virtio-pci.h:30:16: erreur: field ‘msg’ has incomplete type
make: *** [hw/9pfs/virtio-9p.o] Erreur 1

Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
hw/virtio-pci.h

index 9ff3139..917b465 100644 (file)
@@ -15,6 +15,7 @@
 #ifndef QEMU_VIRTIO_PCI_H
 #define QEMU_VIRTIO_PCI_H
 
+#include "hw/pci/msi.h"
 #include "virtio-blk.h"
 #include "virtio-net.h"
 #include "virtio-rng.h"