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:
parent
3e607cb503
commit
2be24aaafe
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user