Received: from eggs.gnu.org ([140.186.70.92]:60540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzNnR-0005Lo-Jd for qemu-devel@nongnu.org; Fri, 02 Sep 2011 03:04:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzNnQ-0004Ze-NF for qemu-devel@nongnu.org; Fri, 02 Sep 2011 03:04:13 -0400 Received: from smtp.nokia.com ([147.243.1.48]:35396 helo=mgw-sa02.nokia.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzNnQ-0004ZW-Bb for qemu-devel@nongnu.org; Fri, 02 Sep 2011 03:04:12 -0400 From: Date: Fri, 2 Sep 2011 07:03:56 +0000 Message-ID: In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-ID: <6BF3F6CB30FA2C489631B3BE25F3A31C@nokia.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 0/3] usb-musb: make qdev-aware List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: peter.maydell@linaro.org, kraxel@redhat.com Cc: riku.voipio@iki.fi, qemu-devel@nongnu.org, patches@linaro.org >>How to you test musb? > >Unfortunately I don't have any test cases which actively use the musb, >so I settle for testing an n810 image (and a beagle image in my omap3 >tree) and confirming that the init part of things still works ok. >(I'm not entirely happy with this but init is really all we're changing >with these patches so we should be ok...) > >Riku/Juha -- do you have any musb test images/command lines? With an existing n810 image I guess you can test USB networking by adding "-usb -net user,vlan=3D0 -net nic,model=3Dusb,vlan=3D0 -usbdevice net -redi= r tcp:2022::22" to qemu command line parameters. In the guest, launch X terminal and command "sudo gainroot" followed by "udhcpc". You should now be able to ssh to the guest from the host with "ssh -p 2022 root@localhost". Would this be sufficient for your needs? Cheers, Juha