summaryrefslogtreecommitdiffstats
path: root/hw/scsi
diff options
context:
space:
mode:
authorFam Zheng2016-07-13 07:09:48 +0200
committerMichael S. Tsirkin2016-07-21 19:44:19 +0200
commit209b27bbe9453d3f76eb801fdd63bcbafd405df0 (patch)
tree78029be47ae79878e7061d1a04e6814917b202c7 /hw/scsi
parentRevert "mirror: Workaround for unexpected iohandler events during completion" (diff)
downloadqemu-209b27bbe9453d3f76eb801fdd63bcbafd405df0.tar.gz
qemu-209b27bbe9453d3f76eb801fdd63bcbafd405df0.tar.xz
qemu-209b27bbe9453d3f76eb801fdd63bcbafd405df0.zip
virtio-scsi: Replace HandleOutput typedef
There is a new common one in virtio.h, use it. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi')
-rw-r--r--hw/scsi/virtio-scsi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/scsi/virtio-scsi.c b/hw/scsi/virtio-scsi.c
index 45e2ee8a63..88d4bf03fb 100644
--- a/hw/scsi/virtio-scsi.c
+++ b/hw/scsi/virtio-scsi.c
@@ -824,8 +824,9 @@ static struct SCSIBusInfo virtio_scsi_scsi_info = {
};
void virtio_scsi_common_realize(DeviceState *dev, Error **errp,
- HandleOutput ctrl, HandleOutput evt,
- HandleOutput cmd)
+ VirtIOHandleOutput ctrl,
+ VirtIOHandleOutput evt,
+ VirtIOHandleOutput cmd)
{
VirtIODevice *vdev = VIRTIO_DEVICE(dev);
VirtIOSCSICommon *s = VIRTIO_SCSI_COMMON(dev);