qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu 0.15.0 testing, usb redirection, and libusb_get_de


From: Hans Petter Selasky
Subject: Re: [Qemu-devel] qemu 0.15.0 testing, usb redirection, and libusb_get_device_speed()
Date: Tue, 16 Aug 2011 19:27:57 +0200
User-agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; )

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 <hdegoede <at> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]