Skip to content

Commit

Permalink
scsi: mark TYPE_SCSI_DISK_BASE as abstract
Browse files Browse the repository at this point in the history
Suggested-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
bonzini committed Jun 6, 2016
1 parent ff58955 commit 6214a11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/scsi/scsi-disk.c
Expand Up @@ -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() \
Expand Down

0 comments on commit 6214a11

Please sign in to comment.