On 29 October 2014 10:29, Gonglei <[email protected]> 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 <[email protected]>
>>
>> ---
>> 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 <[email protected]>

Applied to master, thanks.

-- PMM

Reply via email to