]> Git Repo - qemu.git/commitdiff
s390-virtio: Fix compile error for virtio-block init
authorAmit Shah <[email protected]>
Thu, 25 Feb 2010 13:45:18 +0000 (19:15 +0530)
committerAurelien Jarno <[email protected]>
Sat, 6 Mar 2010 21:55:18 +0000 (22:55 +0100)
Commit 428c149b0be790b440e1cbee185b152cdb22feec modified the argument
that virtio_blk_init takes. Update the s390 bus code that calls this
function.

Signed-off-by: Amit Shah <[email protected]>
CC: Christoph Hellwig <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
hw/s390-virtio-bus.c

index fa0a74fae4c43f65f09fe60e857feb21574d885b..9fc01e941e45ddee2d24b38c303a16e64636c789 100644 (file)
@@ -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;
     }
This page took 0.026802 seconds and 4 git commands to generate.