From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWm86-0006H6-FL for qemu-devel@nongnu.org; Wed, 24 Sep 2014 08:57:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWm80-0007uq-BG for qemu-devel@nongnu.org; Wed, 24 Sep 2014 08:57:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWm80-0007r7-49 for qemu-devel@nongnu.org; Wed, 24 Sep 2014 08:57:04 -0400 Message-ID: <1411563409.30748.5.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Wed, 24 Sep 2014 14:56:49 +0200 In-Reply-To: <5422B97D.2020003@redhat.com> References: <1411559299-19042-1-git-send-email-imammedo@redhat.com> <1411559299-19042-27-git-send-email-imammedo@redhat.com> <5422B97D.2020003@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 26/30] usb-storage: make its storage SCSI bus hotpluggable explicitly List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: dmitry@daynix.com, mst@redhat.com, agraf@suse.de, qemu-devel@nongnu.org, cornelia.huck@de.ibm.com, amit.shah@redhat.com, Igor Mammedov , borntraeger@de.ibm.com, rth@twiddle.net Hi, > it. We would have to delay the presentation of the usb-bot device until > after the LUN is there. usb-bot can have multiple luns, so we can't do that automagically. > Perhaps some kind of transaction mechanism? Yep, that would be needed. Add a *group* of devices. Preferably done in a way that it works for hot-plugging multi-function pci devices too. cheers, Gerd