diff options
author | Andreas Färber <afaerber@suse.de> | 2013-07-30 03:19:55 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-12-09 21:46:49 +0100 |
commit | 71a6520b83414b4ebe3ecfdee3dc3a70db98c91f (patch) | |
tree | e5543bafcfdd57c82feafb554f21cfa92a4f8203 /include | |
parent | a8d57dfb28bd8fd8ebddf08d0cfafdcb61a764fb (diff) | |
download | qemu-71a6520b83414b4ebe3ecfdee3dc3a70db98c91f.tar.gz qemu-71a6520b83414b4ebe3ecfdee3dc3a70db98c91f.tar.bz2 qemu-71a6520b83414b4ebe3ecfdee3dc3a70db98c91f.zip |
virtio-scsi: Convert to QOM realize
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/virtio/virtio-scsi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/virtio/virtio-scsi.h b/include/hw/virtio/virtio-scsi.h index 206c61dbfd..da343f1893 100644 --- a/include/hw/virtio/virtio-scsi.h +++ b/include/hw/virtio/virtio-scsi.h @@ -186,7 +186,7 @@ typedef struct { DEFINE_PROP_BIT("param_change", _state, _feature_field, \ VIRTIO_SCSI_F_CHANGE, true) -int virtio_scsi_common_init(VirtIOSCSICommon *vs); +void virtio_scsi_common_realize(DeviceState *dev, Error **errp); void virtio_scsi_common_exit(VirtIOSCSICommon *vs); #endif /* _QEMU_VIRTIO_SCSI_H */ |