diff mbox

virtio-9p: fix compilation error.

Message ID 1358200322-9660-1-git-send-email-fred.konrad@greensocs.com
State New
Headers show

Commit Message

fred.konrad@greensocs.com Jan. 14, 2013, 9:52 p.m. UTC
From: KONRAD Frederic <fred.konrad@greensocs.com>

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 | 1 +
 1 file changed, 1 insertion(+)

Comments

Anthony Liguori Jan. 15, 2013, 1:44 a.m. UTC | #1
Thanks, applied.

Regards,

Anthony Liguori
Michael S. Tsirkin Jan. 15, 2013, 6:56 a.m. UTC | #2
On Tue, Jan 15, 2013 at 01:44:32AM -0000, Anthony Liguori wrote:
> Thanks, applied.
> 
> Regards,
> 
> Anthony Liguori

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

Patch

diff --git a/hw/virtio-pci.h b/hw/virtio-pci.h
index 9ff3139..917b465 100644
--- a/hw/virtio-pci.h
+++ b/hw/virtio-pci.h
@@ -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"