[Spice-devel] does spicec support usbredir?

Li Guang lig.fnst at cn.fujitsu.com
Tue Nov 12 16:49:52 PST 2013


Hi, Hans

I did strictly as you said at http://hansdegoede.livejournal.com/11084.html,
but, seems there's no effect in guest after selecting redirected USBdevice,
can you help to take a look if there are something wrong for my 
configuration?

Thanks a lot!
Li guang

the whole command line generated by libvirt:file:///home/work/d.xml
qemu-system-x86_64 -name fk -S -machine pc-i440fx-1.6,accel=kvm,usb=off 
-m 1024 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 
e6b8978f-bfe7-1c38-5be8-da65dc9afc02 -no-user-config -nodefaults 
-chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/fk.monitor,server,nowait -mon 
chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown 
-boot order=c,menu=on -device 
ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x9.0x7 -device 
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x9 
-device 
ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x9.0x1 
-device 
ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x9.0x2 
-device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0x8 -drive 
file=/liguang/win7.img,if=none,id=drive-ide0-0-0,format=qcow2,cache=none 
-device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev 
tap,fd=21,id=hostnet0 -device 
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:25:89:e2,bus=pci.0,addr=0x3 
-chardev 
socket,id=charserial0,host=127.0.0.1,port=4555,telnet,server,nowait 
-device isa-serial,chardev=charserial0,id=serial0 -chardev 
spicevmc,id=charchannel0,name=vdagent -device 
virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 
-device usb-tablet,id=input0 -spice 
port=5900,addr=10.167.226.116,image-compression=auto_glz,streaming-video=filter,seamless-migration=on 
-device 
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pci.0,addr=0x2 -device 
AC97,id=sound0,bus=pci.0,addr=0x4 -device 
i6300esb,id=watchdog0,bus=pci.0,addr=0x7 -watchdog-action pause -chardev 
spicevmc,id=charredir0,name=usbredir -device 
usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 -chardev 
spicevmc,id=charredir1,name=usbredir -device 
usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=4 -chardev 
spicevmc,id=charredir2,name=usbredir -device 
usb-redir,chardev=charredir2,id=redir2,bus=usb.0,port=5 -device 
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5




Li Guang wrote:
> OK, thanks!
>
> Hans de Goede wrote:
>> Hi,
>>
>> On 11/11/2013 04:55 AM, Li Guang wrote:
>>> Hi, All
>>>
>>> does spicec support usbredir?
>>> can't figure out that by browsing source code of spice,
>>> if it does, how to support usbredir?
>>
>> No it does not, please use remote-viewer / virt-viewer for
>> usbredir use.
>>
>> Regards,
>>
>> Hans
>>
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: d.xml
Type: text/xml
Size: 3883 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20131113/41096f31/attachment.xml>


More information about the Spice-devel mailing list