mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-03 07:21:55 -06:00
s390-virtio: Fix compile error for virtio-block init
Commit 428c149b0b
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>
This commit is contained in:
parent
d758d90fe1
commit
ad509737f8
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ static int s390_virtio_blk_init(VirtIOS390Device *dev)
|
||||||
{
|
{
|
||||||
VirtIODevice *vdev;
|
VirtIODevice *vdev;
|
||||||
|
|
||||||
vdev = virtio_blk_init((DeviceState *)dev, dev->block.dinfo);
|
vdev = virtio_blk_init((DeviceState *)dev, &dev->block);
|
||||||
if (!vdev) {
|
if (!vdev) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue