Blame qemu-virtio-move-typedef-to-qemu-common.patch

Justin M. Forbes 272dfe
make it possible to use type without header include
Justin M. Forbes 272dfe
Justin M. Forbes 272dfe
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Justin M. Forbes 272dfe
---
Justin M. Forbes 272dfe
 hw/virtio.h   |    1 -
Justin M. Forbes 272dfe
 qemu-common.h |    1 +
Justin M. Forbes 272dfe
 2 files changed, 1 insertions(+), 1 deletions(-)
Justin M. Forbes 272dfe
Justin M. Forbes 272dfe
diff --git a/hw/virtio.h b/hw/virtio.h
Justin M. Forbes 272dfe
index 39d0763..a5bd0ba 100644
Justin M. Forbes 272dfe
--- a/hw/virtio.h
Justin M. Forbes 272dfe
+++ b/hw/virtio.h
Justin M. Forbes 272dfe
@@ -68,7 +68,6 @@ static inline target_phys_addr_t vring_align(target_phys_addr_t addr,
Justin M. Forbes 272dfe
 }
Justin M. Forbes 272dfe
 
Justin M. Forbes 272dfe
 typedef struct VirtQueue VirtQueue;
Justin M. Forbes 272dfe
-typedef struct VirtIODevice VirtIODevice;
Justin M. Forbes 272dfe
 
Justin M. Forbes 272dfe
 #define VIRTQUEUE_MAX_SIZE 1024
Justin M. Forbes 272dfe
 
Justin M. Forbes 272dfe
diff --git a/qemu-common.h b/qemu-common.h
Justin M. Forbes 272dfe
index cdead98..1a54f9e 100644
Justin M. Forbes 272dfe
--- a/qemu-common.h
Justin M. Forbes 272dfe
+++ b/qemu-common.h
Justin M. Forbes 272dfe
@@ -218,6 +218,7 @@ typedef struct I2SCodec I2SCodec;
Justin M. Forbes 272dfe
 typedef struct DeviceState DeviceState;
Justin M. Forbes 272dfe
 typedef struct SSIBus SSIBus;
Justin M. Forbes 272dfe
 typedef struct EventNotifier EventNotifier;
Justin M. Forbes 272dfe
+typedef struct VirtIODevice VirtIODevice;
Justin M. Forbes 272dfe
 
Justin M. Forbes 272dfe
 /* CPU save/load.  */
Justin M. Forbes 272dfe
 void cpu_save(QEMUFile *f, void *opaque);
Justin M. Forbes 272dfe
-- 
Justin M. Forbes 272dfe
1.6.6.144.g5c3af