qemu-e2k/hw/s390x
Paolo Bonzini cbd5ac6991 virtio: link the rng backend through an alias property
The virtio-rng backend is currently linked twice, once in the proxy
device (e.g. virtio-rng-pci) and once in virtio-rng-device.  This causes
a double unref of the backend when the parent device is unplugged.

To fix this, make the proxy device use an alias, similar to what is
already being done for the iothread link.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Message-id: 1414577839-18695-1-git-send-email-pbonzini@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2014-10-30 12:59:27 +00:00
..
css.c s390x/css: catch ccw sequence errors 2014-09-23 14:10:17 +02:00
css.h s390x/css: catch ccw sequence errors 2014-09-23 14:10:17 +02:00
event-facility.c s390x: Drop not used allow_hotplug in event-facility 2014-10-15 05:03:13 +02:00
ipl.c s390x/kvm: proper use of the cpu states OPERATING and STOPPED 2014-10-10 10:37:47 +02:00
Makefile.objs
s390-virtio-bus.c virtio: link the rng backend through an alias property 2014-10-30 12:59:27 +00:00
s390-virtio-bus.h virtio-blk: use aliases instead of duplicate qdev properties 2014-07-01 09:15:02 +02:00
s390-virtio-ccw.c memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
s390-virtio-hcall.c
s390-virtio.c hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
s390-virtio.h s390x: Migrate to new NMI interface 2014-08-25 13:25:16 +02:00
sclp.c memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
sclpcpu.c
sclpquiesce.c savevm: Remove all the unneeded version_minimum_id_old (rest) 2014-05-14 15:24:51 +02:00
virtio-ccw.c virtio: link the rng backend through an alias property 2014-10-30 12:59:27 +00:00
virtio-ccw.h virtio-blk: use aliases instead of duplicate qdev properties 2014-07-01 09:15:02 +02:00