Skip to contentSkip to conversation

virtio-9p: fix compilation error.

PATCH Applied [email protected] 3 participants 3 messages Jan 14, 2013 – Jan 15, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virtio-9p: fix compilation error.

From: KONRAD Frederic <[email protected]>

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

---
 hw/virtio-pci.h | 1 +
 1 file changed, 1 insertion(+)
hw/virtio-pci.h +1 -0
index 9ff3139..917b465 100644
@@ -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"
Signature · 1 line
1.7.11.7
#2 lore raw
Quoted 5 lines · Anthony Liguori

Thanks, applied.

Regards,

Anthony Liguori

OK so one must have libcap-devel and libattr-devel on a development box too.