From: Anthony Liguori Date: Tue, 11 Aug 2009 00:27:59 +0000 (-0500) Subject: Fix virtio-blk X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~11003 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c981d39c95fcf4c3defa7828a8c9866cf3c83a1b;p=sdk%2Femulator%2Fqemu.git Fix virtio-blk Reported-by: Christoph Hellwig Signed-off-by: Anthony Liguori --- diff --git a/hw/qdev.h b/hw/qdev.h index 5016968..204c4e5 100644 --- a/hw/qdev.h +++ b/hw/qdev.h @@ -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])