projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb37f14
)
virtio-scsi: Make type virtio-scsi-common abstract
author
Markus Armbruster
<armbru@redhat.com>
Mon, 19 Aug 2013 15:53:15 +0000
(17:53 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 12 Sep 2013 06:46:21 +0000
(08:46 +0200)
It's the abstract base of virtio-scsi-device and vhost-scsi.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/virtio-scsi.c
patch
|
blob
|
history
diff --git
a/hw/scsi/virtio-scsi.c
b/hw/scsi/virtio-scsi.c
index
3bd690d
..
26d95a1
100644
(file)
--- a/
hw/scsi/virtio-scsi.c
+++ b/
hw/scsi/virtio-scsi.c
@@
-693,6
+693,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,
};