Skip to contentSkip to conversation

virtio-scsi: Make type virtio-scsi-common abstract

PATCH Applied [email protected] 3 participants 3 messages Aug 19, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virtio-scsi: Make type virtio-scsi-common abstract

From: Markus Armbruster <[email protected]>

It's the abstract base of virtio-scsi-device and vhost-scsi.

---
 hw/scsi/virtio-scsi.c | 1 +
 1 file changed, 1 insertion(+)
hw/scsi/virtio-scsi.c +1 -0
index 05da56b..a9ee17b 100644
@@ -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,
 };
 
Signature · 1 line
1.8.1.4
Reviewed-by on v1 1/1
#1 lore raw

Am 19.08.2013 17:53, schrieb [email protected]:

Quoted 5 lines

From: Markus Armbruster <[email protected]>

It's the abstract base of virtio-scsi-device and vhost-scsi.

Andreas

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
#2 lore raw
In reply to [email protected]

Il 19/08/2013 17:53, [email protected] ha scritto:

Quoted 15 lines

From: Markus Armbruster <[email protected]>

It's the abstract base of virtio-scsi-device and vhost-scsi.

---
 hw/scsi/virtio-scsi.c | 1 +
 1 file changed, 1 insertion(+)
hw/scsi/virtio-scsi.c +0 -0
index 05da56b..a9ee17b 100644

hw/scsi/virtio-scsi.c static const TypeInfo virtio_scsi_common_info = { · line 698

Quoted 7 lines
hw/scsi/virtio-scsi.c +1 -0
@@ -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