From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoCMR-0004Ux-TI for qemu-devel@nongnu.org; Thu, 17 Sep 2009 04:29:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoCMN-0004TF-RH for qemu-devel@nongnu.org; Thu, 17 Sep 2009 04:29:03 -0400 Received: from [199.232.76.173] (port=45523 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoCMN-0004T8-Ki for qemu-devel@nongnu.org; Thu, 17 Sep 2009 04:28:59 -0400 Message-ID: <4AB1F342.2060706@redhat.com> Date: Thu, 17 Sep 2009 10:28:50 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1253132733-10409-1-git-send-email-kraxel@redhat.com> <1253132733-10409-2-git-send-email-kraxel@redhat.com> <4AB1DA5D.8040307@gnu.org> <4AB1EC0B.8040500@redhat.com> In-Reply-To: <4AB1EC0B.8040500@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 1/7] allow qdev busses allocations be inplace List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On 09/17/09 09:58, Gerd Hoffmann wrote: > On 09/17/09 08:42, Paolo Bonzini wrote: >> On 09/16/2009 10:25 PM, Gerd Hoffmann wrote: >>> + int qdev_allocated; >> >> Also, this member seems write-only. > > Yes, there is no qbus_destroy yet. Which is actually a bug. If you hot-unplug a virtual usb mass storage device the associated scsi bus should go away. It doesn't though. Will include a fix when respinning the series. cheers, Gerd