218e99
From 767b0e7534e7d0af6090c105f0d093461d5ea03a Mon Sep 17 00:00:00 2001
218e99
From: Miroslav Rezanina <mrezanin@redhat.com>
218e99
Date: Wed, 18 Sep 2013 10:39:19 +0200
218e99
Subject: [PATCH 26/29] virtio-scsi: Make type virtio-scsi-common abstract
218e99
218e99
RH-Author: Miroslav Rezanina <mrezanin@redhat.com>
218e99
Message-id: <b7aa915feada79f108cf99b4a67c7168b70c5593.1379500275.git.mrezanin@redhat.com>
218e99
Patchwork-id: 54440
218e99
O-Subject: [RHEL7 qemu-kvm PATCH] virtio-scsi: Make type virtio-scsi-common abstract
218e99
Bugzilla: 903918
218e99
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
218e99
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
218e99
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
218e99
218e99
From: Markus Armbruster <armbru@redhat.com>
218e99
218e99
BZ: 903918
218e99
Brewbuild: https://brewweb.devel.redhat.com/taskinfo?taskID=6298357
218e99
218e99
It's the abstract base of virtio-scsi-device and vhost-scsi.
218e99
218e99
Signed-off-by: Markus Armbruster <armbru@redhat.com>
218e99
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
218e99
(cherry picked from commit a27292b5d7545509bfa171922516d2033c570205)
218e99
218e99
Clean backport
218e99
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
218e99
---
218e99
 hw/scsi/virtio-scsi.c | 1 +
218e99
 1 file changed, 1 insertion(+)
218e99
218e99
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
218e99
---
218e99
 hw/scsi/virtio-scsi.c |    1 +
218e99
 1 files changed, 1 insertions(+), 0 deletions(-)
218e99
218e99
diff --git a/hw/scsi/virtio-scsi.c b/hw/scsi/virtio-scsi.c
218e99
index 08dd3f3..4074088 100644
218e99
--- a/hw/scsi/virtio-scsi.c
218e99
+++ b/hw/scsi/virtio-scsi.c
218e99
@@ -682,6 +682,7 @@ static const TypeInfo virtio_scsi_common_info = {
218e99
     .name = TYPE_VIRTIO_SCSI_COMMON,
218e99
     .parent = TYPE_VIRTIO_DEVICE,
218e99
     .instance_size = sizeof(VirtIOSCSICommon),
218e99
+    .abstract = true,
218e99
     .class_init = virtio_scsi_common_class_init,
218e99
 };
218e99
 
218e99
-- 
218e99
1.7.1
218e99