Fix virtio-blk
Reported-by: Christoph Hellwig Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
562593aa8a
commit
c981d39c95
@ -198,7 +198,7 @@ extern PropertyInfo qdev_prop_pci_devfn;
|
||||
#define DEFINE_PROP_CHR(_n, _s, _f) \
|
||||
DEFINE_PROP(_n, _s, _f, qdev_prop_chr, CharDriverState*)
|
||||
#define DEFINE_PROP_DRIVE(_n, _s, _f) \
|
||||
DEFINE_PROP(_n, _s, _f, qdev_prop_chr, DriveInfo*)
|
||||
DEFINE_PROP(_n, _s, _f, qdev_prop_drive, DriveInfo*)
|
||||
#define DEFINE_PROP_MACADDR(_n, _s, _f) \
|
||||
DEFINE_PROP(_n, _s, _f, qdev_prop_macaddr, uint8_t[6])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user