summaryrefslogtreecommitdiffstats
path: root/hw/core
diff options
context:
space:
mode:
authorPaolo Bonzini2014-10-29 11:17:19 +0100
committerPeter Maydell2014-10-30 13:59:27 +0100
commitcbd5ac699173b684e678d66df3aea33df81fd89f (patch)
tree8df89714ea7855b5ef2f9d490952aa929a6f8fbc /hw/core
parentRevert "main-loop.c: Handle SIGINT, SIGHUP and SIGTERM synchronously" (diff)
downloadqemu-cbd5ac699173b684e678d66df3aea33df81fd89f.tar.gz
qemu-cbd5ac699173b684e678d66df3aea33df81fd89f.tar.xz
qemu-cbd5ac699173b684e678d66df3aea33df81fd89f.zip
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>
Diffstat (limited to 'hw/core')
0 files changed, 0 insertions, 0 deletions