diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-02-25 19:15:18 +0530 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-06 22:55:18 +0100 |
commit | 21245a737d0ff43309ea37d75b4c2796fbfd6d80 (patch) | |
tree | 531d83945a116a414ea4953844973db892d7f8eb /hw | |
parent | 674cb8fdd913ef093cf6ab6b46b300e7c2c968aa (diff) | |
download | qemu-21245a737d0ff43309ea37d75b4c2796fbfd6d80.tar.gz qemu-21245a737d0ff43309ea37d75b4c2796fbfd6d80.tar.bz2 qemu-21245a737d0ff43309ea37d75b4c2796fbfd6d80.zip |
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.c | 2 |
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; } |