From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:36321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMHbj-0003GW-C7 for qemu-devel@nongnu.org; Tue, 17 May 2011 06:34:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMHbi-0000MT-5n for qemu-devel@nongnu.org; Tue, 17 May 2011 06:34:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMHbh-0000M6-Uj for qemu-devel@nongnu.org; Tue, 17 May 2011 06:34:30 -0400 Message-ID: <4DD24FD6.90108@redhat.com> Date: Tue, 17 May 2011 12:37:10 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <4DCD60AF.5090107@codemonkey.ws> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Should new USB devices such as usb-ccid support legacy -usbdevice? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Alon Levy , qemu-devel@nongnu.org, Gerd Hoffmann Am 16.05.2011 10:33, schrieb Markus Armbruster: > Anthony Liguori writes: > >> On 05/13/2011 11:36 AM, Markus Armbruster wrote: >>> When Gerd qdevified USB, he kept legacy -usbdevice working (commit >>> 0958b4cc...). What about new USB devices? Should they get a legacy >>> syntax, too? >>> >>> The only existing new device is usb-ccid, and it got one in commit >>> 36707144. >> >> What keeps -usbdevice from being a light wrapper to -device such that >> no future code is needed for this? > > What would that buy us? Inhowfar is -usbdevice any lighter than > -device? One difference is that it automagically gives you an USB host controller, whereas with -device you need to specify one explicitly. Kevin