qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/1] virtio-scsi: Make type virtio-scsi-common abstract
@ 2013-08-19 15:53 armbru
  2013-08-19 16:01 ` Andreas Färber
  2013-08-19 17:51 ` Paolo Bonzini
  0 siblings, 2 replies; 3+ messages in thread
From: armbru @ 2013-08-19 15:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini

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,
 };
 
-- 
1.8.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH 1/1] virtio-scsi: Make type virtio-scsi-common abstract
  2013-08-19 15:53 [Qemu-devel] [PATCH 1/1] virtio-scsi: Make type virtio-scsi-common abstract armbru
@ 2013-08-19 16:01 ` Andreas Färber
  2013-08-19 17:51 ` Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Färber @ 2013-08-19 16:01 UTC (permalink / raw)
  To: armbru; +Cc: pbonzini, qemu-devel

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

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH 1/1] virtio-scsi: Make type virtio-scsi-common abstract
  2013-08-19 15:53 [Qemu-devel] [PATCH 1/1] virtio-scsi: Make type virtio-scsi-common abstract armbru
  2013-08-19 16:01 ` Andreas Färber
@ 2013-08-19 17:51 ` Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2013-08-19 17:51 UTC (permalink / raw)
  To: armbru; +Cc: qemu-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-19 17:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-19 15:53 [Qemu-devel] [PATCH 1/1] virtio-scsi: Make type virtio-scsi-common abstract armbru
2013-08-19 16:01 ` Andreas Färber
2013-08-19 17:51 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).