summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-06-01 15:14:36 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-06-06 19:00:24 +0200
commit6214a11ac167b1e866c04a81360286d186f04d82 (patch)
tree87f5b0a7e41f91c16e78d40d2d399bd5ee9172ec /hw
parentff589551c8e8e9e95e211b9d8daafb4ed39f1aec (diff)
downloadqemu-6214a11ac167b1e866c04a81360286d186f04d82.tar.gz
qemu-6214a11ac167b1e866c04a81360286d186f04d82.tar.bz2
qemu-6214a11ac167b1e866c04a81360286d186f04d82.zip
scsi: mark TYPE_SCSI_DISK_BASE as abstract
Suggested-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/scsi/scsi-disk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c
index ab7cf9cbf8..6724cbf8d8 100644
--- a/hw/scsi/scsi-disk.c
+++ b/hw/scsi/scsi-disk.c
@@ -2842,6 +2842,7 @@ static const TypeInfo scsi_disk_base_info = {
.class_init = scsi_disk_base_class_initfn,
.instance_size = sizeof(SCSIDiskState),
.class_size = sizeof(SCSIDiskClass),
+ .abstract = true,
};
#define DEFINE_SCSI_DISK_PROPERTIES() \