qemu-patch-raspberry4/hw/virtio
Gonglei c39343fd81 virtio/vhost-scsi: use aliases instead of duplicate qdev properties
{virtio, vhost}-scsi-{pci, s390, ccw} all duplicate the
qdev properties of their VirtIOSCSI/VHostSCSI child.
This approach does not work well with string or pointer
properties since we must be careful about leaking or
double-freeing them.

Use the QOM alias property to forward property accesses to the
VirtIOSCSI/VHostSCSI child. This way no duplication is necessary.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-09-30 11:08:41 +02:00
..
dataplane vring: Better error handling if num is too large 2014-09-22 11:39:49 +01:00
Makefile.objs block: Always compile virtio-blk dataplane 2014-09-22 11:39:51 +01:00
vhost-backend.c virtio: Move extern declaration to header file 2014-08-09 00:06:32 +04:00
vhost-user.c vhost-user: minor cleanups 2014-07-18 02:22:24 +03:00
vhost.c vhost_net: start/stop guest notifiers properly 2014-09-03 16:40:44 +03:00
virtio-balloon.c virtio-balloon: use virtio wrappers to access page frame numbers 2014-06-29 19:39:42 +03:00
virtio-bus.c virtio-bus: cleanup plug/unplug interface 2013-12-09 21:46:48 +01:00
virtio-mmio.c hw/virtio: enable common virtio feature for mmio device 2014-07-06 09:13:54 +03:00
virtio-pci.c virtio/vhost-scsi: use aliases instead of duplicate qdev properties 2014-09-30 11:08:41 +02:00
virtio-pci.h virtio-blk: use aliases instead of duplicate qdev properties 2014-07-01 09:15:02 +02:00
virtio-rng.c virtio-rng: add some trace events 2014-08-12 14:29:55 +01:00
virtio.c Revert "virtio: don't call device on !vm_running" 2014-09-18 21:51:24 +03:00