[PATCH 1/2] tests: Fix USB ports in usb-redir-filter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This test case references ports 4 and 5 on the PIIX3 UHCI
controller which only has two.
---
 tests/qemuxml2argvdata/qemuxml2argv-usb-redir-filter-version.args    | 4 ++--
 tests/qemuxml2argvdata/qemuxml2argv-usb-redir-filter-version.xml     | 4 ++--
 tests/qemuxml2xmloutdata/qemuxml2xmlout-usb-redir-filter-version.xml | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/qemuxml2argvdata/qemuxml2argv-usb-redir-filter-version.args b/tests/qemuxml2argvdata/qemuxml2argv-usb-redir-filter-version.args
index 5fd9e4a..0113efd 100644
--- a/tests/qemuxml2argvdata/qemuxml2argv-usb-redir-filter-version.args
+++ b/tests/qemuxml2argvdata/qemuxml2argv-usb-redir-filter-version.args
@@ -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
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-usb-redir-filter-version.xml b/tests/qemuxml2argvdata/qemuxml2argv-usb-redir-filter-version.xml
index c07cddd..d9110d8 100644
--- a/tests/qemuxml2argvdata/qemuxml2argv-usb-redir-filter-version.xml
+++ b/tests/qemuxml2argvdata/qemuxml2argv-usb-redir-filter-version.xml
@@ -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'/>
diff --git a/tests/qemuxml2xmloutdata/qemuxml2xmlout-usb-redir-filter-version.xml b/tests/qemuxml2xmloutdata/qemuxml2xmlout-usb-redir-filter-version.xml
index 77ce72f..c291e57 100644
--- a/tests/qemuxml2xmloutdata/qemuxml2xmlout-usb-redir-filter-version.xml
+++ b/tests/qemuxml2xmloutdata/qemuxml2xmlout-usb-redir-filter-version.xml
@@ -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'/>
-- 
2.7.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux