aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-02-25 19:15:18 +0530
committerAurelien Jarno <aurelien@aurel32.net>2010-03-06 22:55:18 +0100
commitad509737f829a0503e0fcab3177815489b168ec7 (patch)
tree531d83945a116a414ea4953844973db892d7f8eb /hw
parentd758d90fe1f74a46042fca665036a23b4d5fe87d (diff)
s390-virtio: Fix compile error for virtio-block init
Commit 428c149b0be790b440e1cbee185b152cdb22feec modified the argument that virtio_blk_init takes. Update the s390 bus code that calls this function. Signed-off-by: Amit Shah <amit.shah@redhat.com> CC: Christoph Hellwig <hch@lst.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw')
-rw-r--r--hw/s390-virtio-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390-virtio-bus.c b/hw/s390-virtio-bus.c
index fa0a74fae4..9fc01e941e 100644
--- a/hw/s390-virtio-bus.c
+++ b/hw/s390-virtio-bus.c
@@ -123,7 +123,7 @@ static int s390_virtio_blk_init(VirtIOS390Device *dev)
{
VirtIODevice *vdev;
- vdev = virtio_blk_init((DeviceState *)dev, dev->block.dinfo);
+ vdev = virtio_blk_init((DeviceState *)dev, &dev->block);
if (!vdev) {
return -1;
}