]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix USB port in input-usbmouse test
authorJán Tomko <jtomko@redhat.com>
Wed, 20 Apr 2016 12:25:47 +0000 (14:25 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 21 Jun 2016 16:23:56 +0000 (18:23 +0200)
The default USB controller only has two ports.

tests/qemuxml2argvdata/qemuxml2argv-input-usbmouse-addr.args
tests/qemuxml2argvdata/qemuxml2argv-input-usbmouse-addr.xml

index 68147a427ab5a3d3da18eaf7e6c3b659b15cc5a7..6310585daff2f09c68d85b689b5636eb74d16274 100644 (file)
@@ -20,5 +20,5 @@ QEMU_AUDIO_DRV=none \
 -usb \
 -drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
 -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
--device usb-mouse,id=input0,bus=usb.0,port=4 \
+-device usb-mouse,id=input0,bus=usb.0,port=2 \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
index a99683847d036ae9ca1ffec16de0ab9b10cd1ead..dde3517a665f9137b4ddca9dcb9617de7d6c3616 100644 (file)
@@ -22,7 +22,7 @@
     <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <input type='mouse' bus='usb'>
-      <address type='usb' bus='0' port='4'/>
+      <address type='usb' bus='0' port='2'/>
     </input>
   </devices>
 </domain>