From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFz7H-0001cP-Rh for qemu-devel@nongnu.org; Thu, 23 Jun 2016 03:32:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFz7C-0002If-SB for qemu-devel@nongnu.org; Thu, 23 Jun 2016 03:31:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFz7C-0002IZ-MP for qemu-devel@nongnu.org; Thu, 23 Jun 2016 03:31:54 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5085D3B725 for ; Thu, 23 Jun 2016 07:31:54 +0000 (UTC) Message-ID: <1466667112.26189.25.camel@redhat.com> From: Gerd Hoffmann Date: Thu, 23 Jun 2016 09:31:52 +0200 In-Reply-To: <579302d5-8ed8-af97-2ed3-5515b687a365@redhat.com> References: <1466596127-3330-1-git-send-email-kraxel@redhat.com> <1466596127-3330-5-git-send-email-kraxel@redhat.com> <579302d5-8ed8-af97-2ed3-5515b687a365@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: Re: [Qemu-devel] [PULL 4/5] usb-bot: hotplug support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On Mi, 2016-06-22 at 16:20 +0200, Paolo Bonzini wrote: >=20 > On 22/06/2016 13:48, Gerd Hoffmann wrote: > > Hot-plugging a usb-bot device with one or more scsi devices can be > > done this way now: > >=20 > > (1) device-add usb-bot,id=3Dfoo > > (2) device-add scsi-{hd,cd},bus=3Dfoo.0,lun=3D0 > > (2b) optionally add more devices (luns 0 ... 15). > > (3) qom-set foo.attached =3D true >=20 > Can you document it in docs/usb-storage.txt? Good idea, will do as followup. cheers, Gerd