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: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2] virtio: link the rng backend through an alias property
Date: Thu, 30 Oct 2014 13:34:47 +0000

On 29 October 2014 10:29, Gonglei <address@hidden> wrote:
> 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>

Applied to master, thanks.

-- PMM



reply via email to

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