From: Paolo Bonzini <pbonzini@redhat.com>
To: "Marc-André Lureau" <marcandre.lureau@redhat.com>, qemu-devel@nongnu.org
Cc: spopovyc@redhat.com, kraxel@redhat.com
Subject: Re: [Qemu-devel] [PATCH 0/4] Fix usb-ccid hotplug regression
Date: Wed, 13 Jun 2018 18:18:19 +0200 [thread overview]
Message-ID: <fed332fd-84de-3749-2a67-29d0c89bf505@redhat.com> (raw)
In-Reply-To: <20180531195119.22021-1-marcandre.lureau@redhat.com>
On 31/05/2018 21:51, Marc-André Lureau wrote:
> Hi,
>
> The following series fixes the usb-ccid hotplug regression introduced
> by commit 675f22c6d3b0: the plugged device is not completely removed
> on device_del anymore, due to an extra reference added when doing
> set_link(). It turns out the memory management of qdev bus/child is a
> bit weird, this is my attempt to improve the situation and fix the
> regression.
It's my fault for not reviewing this promptly, but can patches 1 and 3
please be reverted? Thanks,
Paolo
> Fixes:
> https://bugzilla.redhat.com/show_bug.cgi?id=1556678
>
> Marc-André Lureau (4):
> bus: do not unref the added child bus on realize
> object: fix OBJ_PROP_LINK_UNREF_ON_RELEASE ambivalence
> usb-ccid: fix bus leak
> usb-hcd-xhci-test: add a test for ccid hotplug
>
> include/qom/object.h | 12 +++++++++---
> hw/core/bus.c | 1 -
> hw/core/qdev-properties.c | 2 +-
> hw/core/qdev.c | 2 +-
> hw/display/xlnx_dp.c | 2 +-
> hw/dma/xilinx_axidma.c | 4 ++--
> hw/dma/xlnx-zdma.c | 2 +-
> hw/i386/pc.c | 2 +-
> hw/i386/pc_piix.c | 2 +-
> hw/i386/pc_q35.c | 2 +-
> hw/ipmi/ipmi.c | 2 +-
> hw/net/xilinx_axienet.c | 4 ++--
> hw/ssi/xilinx_spips.c | 2 +-
> hw/usb/dev-smartcard-reader.c | 1 +
> net/can/can_host.c | 2 +-
> net/colo-compare.c | 2 +-
> qom/object.c | 8 +++++---
> target/arm/cpu.c | 4 ++--
> tests/usb-hcd-xhci-test.c | 10 ++++++++++
> ui/console.c | 2 +-
> 20 files changed, 43 insertions(+), 25 deletions(-)
>
>
> base-commit: c181ddaa176856b3cd2dfd12bbcf25fa9c884a97
>
next prev parent reply other threads:[~2018-06-13 16:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-31 19:51 [Qemu-devel] [PATCH 0/4] Fix usb-ccid hotplug regression Marc-André Lureau
2018-05-31 19:51 ` [Qemu-devel] [PATCH 1/4] bus: do not unref the added child bus on realize Marc-André Lureau
2018-05-31 19:51 ` [Qemu-devel] [PATCH 2/4] object: fix OBJ_PROP_LINK_UNREF_ON_RELEASE ambivalence Marc-André Lureau
2018-05-31 19:51 ` [Qemu-devel] [PATCH 3/4] usb-ccid: fix bus leak Marc-André Lureau
2018-05-31 19:51 ` [Qemu-devel] [PATCH 4/4] usb-hcd-xhci-test: add a test for ccid hotplug Marc-André Lureau
2018-06-13 16:18 ` Paolo Bonzini [this message]
2018-06-14 8:38 ` [Qemu-devel] [PATCH 0/4] Fix usb-ccid hotplug regression Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fed332fd-84de-3749-2a67-29d0c89bf505@redhat.com \
--to=pbonzini@redhat.com \
--cc=kraxel@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=spopovyc@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).