版权声明:Copyright © https://cloud.tencent.com/developer/article/1476324
SPICE 协议 USB 重定向
用SPICE协议来进行USB透传的介绍,在SPICE官网上有:Spice 官网
kvm xml配置
代码语言:javascript复制<device>
<controller type='usb' index='0' model='ich9-ehci1'/>
<controller type='usb' index='0' model='ich9-uhci1'>
<master startport='0'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci2'>
<master startport='2'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci3'>
<master startport='4'/>
</controller>
<redirdev bus='usb' type='spicevmc'/>
<redirdev bus='usb' type='spicevmc'/>
<redirdev bus='usb' type='spicevmc'/>
<redirdev bus='usb' type='spicevmc'/>
</device>
remote viewer
代码语言:javascript复制使用 usb重定向
virt-viewer 版本为6.0/7.0 时 在主机上(打开remote viewer 的机器上)安装usbdk软件可解决识别不了U盘的问题
virt-viewer 8.0 自带识别USB 但是目前有问题,待解决