From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUgWh-0005EI-7Z for qemu-devel@nongnu.org; Wed, 16 May 2012 11:52:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUgWY-0006dE-Qu for qemu-devel@nongnu.org; Wed, 16 May 2012 11:52:34 -0400 Received: from mail-pz0-f45.google.com ([209.85.210.45]:51635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUgWY-0006cq-IX for qemu-devel@nongnu.org; Wed, 16 May 2012 11:52:26 -0400 Received: by dadv2 with SMTP id v2so1496812dad.4 for ; Wed, 16 May 2012 08:52:24 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4FB3CD31.8050903@redhat.com> Date: Wed, 16 May 2012 17:52:17 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1337095599-28836-1-git-send-email-anthony.perard@citrix.com> <1337095599-28836-2-git-send-email-anthony.perard@citrix.com> <20120515205222.GA12039@redhat.com> <4FB38E2E.5000508@redhat.com> <20120516132017.GB8620@redhat.com> In-Reply-To: <20120516132017.GB8620@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/4] Introduce a new hotplug state: Force eject. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Anthony PERARD , Xen Devel , QEMU-devel , Anthony Liguori , Stefano Stabellini Il 16/05/2012 15:20, Michael S. Tsirkin ha scritto: >>> Because it's missing the object_unparent done by qdev_unplug. Does >>> object_unparent+qdev_free work? (I believe object_unparent should be >>> done by qdev_free rather than qdev_unplug, but that's something for 1.2). >> >> Cool, this seems to work fine. Thanks. >> >> I'll test a bit more and resend a patch with only object_unparent+qdev_free. > > Separately it was suggested to make qdev_free do object_unparent > automatically. Anthony is yet to respond. Yes, but for 1.1 this Xen-only patch would be nice. Paolo