提交 a1015889 编写于 作者: J Ján Tomko

tests: Fix USB ports in usb-redir-filter

This test case references ports 4 and 5 on the PIIX3 UHCI
controller which only has two.
上级 dffdac06
......@@ -23,9 +23,9 @@ server,nowait \
-chardev spicevmc,id=charredir0,name=usbredir \
-device 'usb-redir,chardev=charredir0,id=redir0,\
filter=0x08:0x15E1:0x2007:0x0109:1|0x08:0x15E1:0x2007:0x0940:1|-1:-1:-1:-1:0,\
bus=usb.0,port=4' \
bus=usb.0,port=1' \
-chardev spicevmc,id=charredir1,name=usbredir \
-device 'usb-redir,chardev=charredir1,id=redir1,\
filter=0x08:0x15E1:0x2007:0x0109:1|0x08:0x15E1:0x2007:0x0940:1|-1:-1:-1:-1:0,\
bus=usb.0,port=5' \
bus=usb.0,port=2' \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
......@@ -17,10 +17,10 @@
<controller type='usb' index='0'/>
<controller type='pci' index='0' model='pci-root'/>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='4'/>
<address type='usb' bus='0' port='1'/>
</redirdev>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='5'/>
<address type='usb' bus='0' port='2'/>
</redirdev>
<redirfilter>
<usbdev class='0x08' vendor='0x15E1' product='0x2007' version='1.09' allow='yes'/>
......
......@@ -21,10 +21,10 @@
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='4'/>
<address type='usb' bus='0' port='1'/>
</redirdev>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='5'/>
<address type='usb' bus='0' port='2'/>
</redirdev>
<redirfilter>
<usbdev class='0x08' vendor='0x15E1' product='0x2007' version='1.09' allow='yes'/>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册