Il 20/09/2013 15:08, Fabio Fantoni ha
scritto:
Il 18/09/2013 09:44, Fabio Fantoni ha
scritto:
Il 17/09/2013 20:04, Fabio Fantoni
ha scritto:
About bus and multifunction should be correct
based on reply of one qemu developer time ago if
I remember good.
I also require advice of other improve for usb2
parameters if possible without reply.
On my latest tests:
- on Ubuntu 12.04 domU usb1, usb2 and usb3 are working
- on windows 7 64 bit domU usb 2 and usb3 are working,
usb1 not (seem windows problem, probably also other
windows versions have this problem)
About id seems needed for usb redirection, next test I'll
try to remove the id to check if automatic search and use
the usb controller.
Sorry for my bad english.
Sorry, I forgot the cc.
I tried to change this part with:
flexarray_vappend(dm_args, "-device",
GCSPRINTF("ich9-usb-uhci%d,masterbus=usb.0,"
"firstport=%d,addr=0x1d.%#x,multifunction=on",
i, 2*(i-1), i-1) );
But on xl create it stops with segfault:
xl -vvv create /etc/xen/W7.cfg
...
libxl: debug: libxl_dm.c:1286:libxl__spawn_local_dm: -device
libxl: debug: libxl_dm.c:1286:libxl__spawn_local_dm:
ich9-usb-uhci1,masterbus=usb.0,firstport=0,addr=0x1d.0,multifunction=on
libxl: debug: libxl_dm.c:1286:libxl__spawn_local_dm:
Segfault error
I not understand what is the problem, can someone help me to solve
please?
Thanks for any reply.
On my new test works also without bus=pci.0, I'll remove it on
next patch version.
On my new test usbredirection works also without adding the usb
controller id, so it is possible to change it but I think is
unuseful change it based on different usb version.
On my new test I added multifunction=on on all devices and all is
working. I see on qemu docs/ich9-ehci-uhci.cfg and all devices
have multifunction enabled, on next patch version I'll put it on
all devices.
|