mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Learn to use spicevmc as a redirection type for usb-redir
This commit is contained in:
committed by
Daniel Veillard
parent
162efa1a7c
commit
4813b3f094
@@ -5,4 +5,6 @@ LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test /usr/bin/qemu -S -M pc
|
||||
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,multifunction=on,addr=0x4.0x2 \
|
||||
-chardev socket,id=charredir0,host=localhost,port=4000 \
|
||||
-device usb-redir,chardev=charredir0,id=redir0 \
|
||||
-chardev spicevmc,id=charredir1,name=usbredir \
|
||||
-device usb-redir,chardev=charredir1,id=redir1 \
|
||||
-device virtio-balloon-pci,id=balloon0,bus=pci.0,multifunction=on,addr=0x3.0x0
|
||||
|
||||
@@ -33,6 +33,8 @@
|
||||
<source mode='connect' host='localhost' service='4000'/>
|
||||
<protocol type='raw'/>
|
||||
</redirdev>
|
||||
<redirdev bus='usb' type='spicevmc'>
|
||||
</redirdev>
|
||||
<memballoon model='virtio'/>
|
||||
</devices>
|
||||
</domain>
|
||||
|
||||
Reference in New Issue
Block a user