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>
{
VirtIODevice *vdev;
- vdev = virtio_blk_init((DeviceState *)dev, dev->block.dinfo);
+ vdev = virtio_blk_init((DeviceState *)dev, &dev->block);
if (!vdev) {
return -1;
}