diff options
author | Fam Zheng <famz@redhat.com> | 2016-07-13 13:09:48 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-07-21 20:44:19 +0300 |
commit | 209b27bbe9453d3f76eb801fdd63bcbafd405df0 (patch) | |
tree | 78029be47ae79878e7061d1a04e6814917b202c7 /hw/scsi | |
parent | d4a92a8420ac764f21652322aa7d4e49cfcbc607 (diff) | |
download | qemu-209b27bbe9453d3f76eb801fdd63bcbafd405df0.zip qemu-209b27bbe9453d3f76eb801fdd63bcbafd405df0.tar.gz qemu-209b27bbe9453d3f76eb801fdd63bcbafd405df0.tar.bz2 |
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.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/scsi/virtio-scsi.c b/hw/scsi/virtio-scsi.c index 45e2ee8..88d4bf0 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); |