Message ID | 1376927595-16685-1-git-send-email-armbru@redhat.com |
---|---|
State | New |
Headers | show |
Am 19.08.2013 17:53, schrieb armbru@redhat.com: > From: Markus Armbruster <armbru@redhat.com> > > It's the abstract base of virtio-scsi-device and vhost-scsi. > > Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Andreas
Il 19/08/2013 17:53, armbru@redhat.com ha scritto: > From: Markus Armbruster <armbru@redhat.com> > > It's the abstract base of virtio-scsi-device and vhost-scsi. > > Signed-off-by: Markus Armbruster <armbru@redhat.com> > --- > hw/scsi/virtio-scsi.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/hw/scsi/virtio-scsi.c b/hw/scsi/virtio-scsi.c > index 05da56b..a9ee17b 100644 > --- a/hw/scsi/virtio-scsi.c > +++ b/hw/scsi/virtio-scsi.c > @@ -692,6 +692,7 @@ static const TypeInfo virtio_scsi_common_info = { > .name = TYPE_VIRTIO_SCSI_COMMON, > .parent = TYPE_VIRTIO_DEVICE, > .instance_size = sizeof(VirtIOSCSICommon), > + .abstract = true, > .class_init = virtio_scsi_common_class_init, > }; > > Applied to scsi-next, thanks. Paolo
diff --git a/hw/scsi/virtio-scsi.c b/hw/scsi/virtio-scsi.c index 05da56b..a9ee17b 100644 --- a/hw/scsi/virtio-scsi.c +++ b/hw/scsi/virtio-scsi.c @@ -692,6 +692,7 @@ static const TypeInfo virtio_scsi_common_info = { .name = TYPE_VIRTIO_SCSI_COMMON, .parent = TYPE_VIRTIO_DEVICE, .instance_size = sizeof(VirtIOSCSICommon), + .abstract = true, .class_init = virtio_scsi_common_class_init, };