From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41174 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8bSn-0006B9-DR for qemu-devel@nongnu.org; Wed, 20 Oct 2010 12:24:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8bSk-0007iy-HC for qemu-devel@nongnu.org; Wed, 20 Oct 2010 12:24:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8bSk-0007im-Am for qemu-devel@nongnu.org; Wed, 20 Oct 2010 12:24:26 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9KGOO71023506 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 20 Oct 2010 12:24:24 -0400 Date: Wed, 20 Oct 2010 14:24:20 -0200 From: Luiz Capitulino Subject: Re: [Qemu-devel] [PATCH 3/3] monitor: add usb_attach and usb_detach Message-ID: <20101020142420.675fb9d3@doriath> In-Reply-To: <4CBD9E85.50908@redhat.com> References: <1287484411-13611-1-git-send-email-alevy@redhat.com> <1287484411-13611-4-git-send-email-alevy@redhat.com> <4CBD9E85.50908@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Alon Levy , qemu-devel@nongnu.org On Tue, 19 Oct 2010 15:35:01 +0200 Gerd Hoffmann wrote: > Hi, > > > + .help = "attach USB device 'bus.addr'", > > > +@item usb_attach @var{devname} > > /me sees a mismatch here. > > There is still the use case question. Also note that this might have > unwanted side effects when drivers automagically attach/detach devices > like usb-host. Alon, did you check this? I hope it doesn't blowup. > Having this purely for debugging/troubleshooting purposes would be fine > with me, but the documentation should clearly say so. Is this useful in production or only in the development of new devices? If it's the letter, then I would even prefer enabling them only when DEBUG is enabled.