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