[Spice-devel] Possible problems with usbredir in w7 guest on F16 host?
Gianluca Cecchi
gianluca.cecchi at gmail.com
Tue Feb 7 14:42:01 PST 2012
On Tue, Feb 7, 2012 at 7:39 PM, Marc-André Lureau wrote:
> [snip]
> In the meantime, you ....
> [snip]
Ok, thanks for the detailed explanation, Marc.
So, preliminary tests on my F16 host and a winxp vm were successful
These were my steps:
- virsh edit winxp
Adding the usb line before the /devices line so that I had:
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05'
function='0x0'/>
</memballoon>
<controller type='usb' index='0'/>
</devices>
</domain>
- run virt-manager
I see now a "controller USB" between devices and can change model from
"default" to USB2 --> apply
- $ sudo diff new.xml old.xml
gives
49,62c49,50
< <controller type='usb' index='0' model='ich9-ehci1'>
< <address type='pci' domain='0x0000' bus='0x00' slot='0x08'
function='0x0'/>
< </controller>
< <controller type='usb' index='0' model='ich9-uhci1'>
< <master startport='0'/>
< <address type='pci' domain='0x0000' bus='0x00' slot='0x09'
function='0x0'/>
< </controller>
< <controller type='usb' index='0' model='ich9-uhci2'>
< <master startport='2'/>
< <address type='pci' domain='0x0000' bus='0x00' slot='0x0a'
function='0x0'/>
< </controller>
< <controller type='usb' index='0' model='ich9-uhci3'>
< <master startport='4'/>
< <address type='pci' domain='0x0000' bus='0x00' slot='0x0b'
function='0x0'/>
---
> <controller type='usb' index='0'>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
- Add hardware --> redirected USB --> spice channel
(BTW: what is the other option "TCP" for?)
Now the xml has got this added diff at its end:
< <redirdev bus='usb' type='spicevmc'>
< </redirdev>
NOTE:
A difference from when I manually edited the file (with Hans
instructions) is that this line now remains:
<domain type='kvm'>
while before it had to be manually changed to:
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
donna if this is important...
Tests:
- usb key
OK
- iTunes and iPOD shuffle last gen
OK
installed latest iTunes (10.5.3.3, 66Mb installer and about 350Mb
installation, worse than a virus... ;-)
and connected an ipod shuffle last generation
it was recognized both by the system and iTunes; I was able to
register it an play in iTunes some songs previously stored on the ipod
(with gtkpod... ;-)
So for now it is quite good result.
Tomorrow I'm going to test other devices on this system and another
F16 host with a win7 32bit guest (where I apparently had problems, as
detailed in this thread itslef previous e-mails):
- a Galaxy S2 with Kies
- a pair of cameras
- smartcard (for public health access)
and let you know.
Thansk in the mean time tor your time and sharing
Gianluca
More information about the Spice-devel
mailing list