diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-10 19:27:59 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-10 19:27:59 -0500 |
commit | c981d39c95fcf4c3defa7828a8c9866cf3c83a1b (patch) | |
tree | 6f541b06ca4691ea22f0afb61dcf46c9c85a3861 | |
parent | 562593aa8a7513308477710a59cc383bba056752 (diff) |
Fix virtio-blk
Reported-by: Christoph Hellwig
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | hw/qdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]) |