virtio: move typedef to qemu-common

make it possible to use type without header include,
simplifying header dependencies.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Michael S. Tsirkin 2010-03-17 13:08:10 +02:00 committed by Anthony Liguori
parent 3e607cb503
commit 2be24aaafe
2 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,6 @@ static inline target_phys_addr_t vring_align(target_phys_addr_t addr,
}
typedef struct VirtQueue VirtQueue;
typedef struct VirtIODevice VirtIODevice;
#define VIRTQUEUE_MAX_SIZE 1024

View File

@ -229,6 +229,7 @@ typedef struct I2SCodec I2SCodec;
typedef struct DeviceState DeviceState;
typedef struct SSIBus SSIBus;
typedef struct EventNotifier EventNotifier;
typedef struct VirtIODevice VirtIODevice;
typedef uint64_t pcibus_t;