From c981d39c95fcf4c3defa7828a8c9866cf3c83a1b Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Mon, 10 Aug 2009 19:27:59 -0500 Subject: [PATCH] Fix virtio-blk Reported-by: Christoph Hellwig Signed-off-by: Anthony Liguori --- hw/qdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- 2.7.4