qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] virtio: link the rng backend through an alia


From: Gonglei
Subject: Re: [Qemu-devel] [PATCH v2] virtio: link the rng backend through an alias property
Date: Wed, 29 Oct 2014 18:29:48 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1

On 2014/10/29 18:17, Paolo Bonzini wrote:

> 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 <address@hidden>
> 
> ---
> v1->v2: also change s390-virtio-bus.c (Gonglei)
> ---
>  hw/s390x/s390-virtio-bus.c | 6 ++----
>  hw/s390x/virtio-ccw.c      | 6 ++----
>  hw/virtio/virtio-pci.c     | 7 ++-----
>  3 files changed, 6 insertions(+), 13 deletions(-)

Reviewed-by: Gonglei <address@hidden>

Best regards,
-Gonglei




reply via email to

[Prev in Thread] Current Thread [Next in Thread]