From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 16 17:30:25 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6E071065673; Tue, 16 Aug 2011 17:30:25 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id CD30C8FC17; Tue, 16 Aug 2011 17:30:24 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=b20eX9+WwT+rchjRp65q2r9rWd5NV3fsbYwDDw8k8E8= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=fJEGAQ7EGC8A:10 a=WQU8e4WWZSUA:10 a=N659UExz7-8A:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=6I5d2MoRAAAA:8 a=20KFwNOVAAAA:8 a=TSbVqHtbAAAA:8 a=voznR72gjcC1rhOVUJ4A:9 a=pILNOxqGKmIA:10 a=akYS_eu778kA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 164683112; Tue, 16 Aug 2011 19:30:22 +0200 From: Hans Petter Selasky To: Juergen Lock Date: Tue, 16 Aug 2011 19:27:57 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20110815202656.GA94934@triton8.kn-bremen.de> In-Reply-To: <20110815202656.GA94934@triton8.kn-bremen.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Message-Id: <201108161927.57212.hselasky@c2i.net> Cc: Hans de Goede , "freebsd-emulation@FreeBSD.org" , "qemu-devel@nongnu.org" , "freebsd-usb@FreeBSD.org" Subject: Re: qemu 0.15.0 testing, usb redirection, and libusb_get_device_speed() X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 17:30:25 -0000 On Monday 15 August 2011 22:26:56 Juergen Lock wrote: > Hi! > > I just prepared a preliminary update of the emulators/qemu-devel > port to 0.15.0 [1], and among other things it now also has a > usb network redirection feature using usbredir [2], which uses > libusb 1.0 and a function that is missing in our version, > libusb_get_device_speed(). I added a stub to the code that > always returns LIBUSB_SPEED_UNKNOWN > (files/patch-usbredirhost-usbredirhost.c in the usbredir port [2]), > question for Hans (I guess), would there be an easy way to make a > `proper' implementation? > > If anyone wants to help me test qemu 0.15.0, thanx! > > I also updated the net.c and net.h udp patches for gns3 for this qemu > version: (the other gns3 patchfiles for qemu 0.14 still apply) > > http://people.freebsd.org/~nox/qemu/qemu-0.15.0-gns3-patches/ > > I added this note to the qemu-devel pkg-message about the usb > redirection [1]: > > ------------snip------ > - If you want to test the new (in 0.15.0) usb network redirection (USBREDIR > option) see this thread by Hans de Goede redhat.com>: > > > http://thread.gmane.org/gmane.comp.emulators.qemu/110176/focus=110183 Hi, It is also crashing here: usbredirserver 0c76:1607 usbredirparser info: Peer version: qemu usb-redir guest 0.15.0 Bus error (core dumped) qemu -cdrom xxx.iso -readconfig /usr/local/share/doc/qemu/docs/ich9-ehci- uhci.cfg -chardev socket,id=usbredirchardev,host=localhost,port=4000 -device usb-redir,chardev=usbredirchardev,id=usbredirdev *** EHCI support is under development *** FETCHENTRY: entry at 3DBFD04 is of type 2 which is not supported yet processing error - resetting ehci HC Assertion failed: (0), function ehci_advance_state, file /usr/ports/emulators/qemu-devel/work/qemu-0.15.0/hw/usb-ehci.c, line 2045. Abort (core dumped) Maybe Hans de Goede should do some testing with FreeBSD-current ? I just submitted the patch for FreeBSD-current that implements libusb_get_device_speed(). --HPS