qemu/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
..
Makefile.objs
css.c
css.h
event-facility.c
ipl.c
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
s390-virtio-ccw.c
s390-virtio-hcall.c
s390-virtio.c
s390-virtio.h
sclp.c
sclpcpu.c
sclpquiesce.c
virtio-ccw.c virtio: link the rng backend through an alias property 2014-10-30 12:59:27 +00:00
virtio-ccw.h