From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tg4dN-0005BG-SG for qemu-devel@nongnu.org; Tue, 04 Dec 2012 21:22:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tg4dM-0005zP-UR for qemu-devel@nongnu.org; Tue, 04 Dec 2012 21:22:49 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfnfC-0002Bx-Vq for qemu-devel@nongnu.org; Tue, 04 Dec 2012 03:15:35 -0500 Message-ID: <50BDB121.4090209@redhat.com> Date: Tue, 04 Dec 2012 09:15:29 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1354153398-13569-1-git-send-email-peter.crosthwaite@xilinx.com> <20121129020041.GB3127@walimis-DELL> <20121203120309.GD6029@pek-lwang0-d1> <50BCA034.2090301@redhat.com> <20121203145020.GF6029@pek-lwang0-d1> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite Cc: john.williams@xilinx.com, david.holsgrove@xilinx.com, walimis , qemu-devel@nongnu.org Hi, > Gerd, > > Is there any documentation out there on how to tell QEMU on command > line which EHCI you want your usb-storage to attach to? docs/usb2.txt has some examples, although those are pc-centric where the ehci is created on the command line. The problem with zynx is that both ehci controllers get the same (default) name so picking one by name doesn't work. Guess we haver to figure a way to explicitly name those devices (so the busses are named too), especially in case a board has two identical ones. Maybe sysbus_create_simple needs an additional argument or a sysbus_create_simple_with_id variant. cheers, Gerd