SPICE 协议 USB 重定向
用SPICE协议来进行USB透传的介绍,在SPICE官网上有:Spice 官网
kvm xml配置
<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
使用 usb重定向 virt-viewer 版本为6.0/7.0 时 在主机上(打开remote viewer 的机器上)安装usbdk软件可解决识别不了U盘的问题 virt-viewer 8.0 自带识别USB 但是目前有问题,待解决
文章来源: https://blog.csdn.net/zzw19951261/article/details/90751721