]> xenbits.xensource.com Git - libvirt.git/commitdiff
test: Don't assume VNC is always available
authorDoug Goldstein <cardoe@cardoe.com>
Fri, 19 Oct 2012 19:40:51 +0000 (14:40 -0500)
committerOsier Yang <jyang@redhat.com>
Mon, 22 Oct 2012 15:16:11 +0000 (23:16 +0800)
Several tests assume that VNC is always available and include it in
their configs and the expected command line. The tests have nothing to
do with graphics display so they shouldn't rely on VNC.

tests/qemuxml2argvdata/qemuxml2argv-bios.args
tests/qemuxml2argvdata/qemuxml2argv-bios.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-copy_on_read.args
tests/qemuxml2argvdata/qemuxml2argv-disk-copy_on_read.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-ioeventfd.args
tests/qemuxml2argvdata/qemuxml2argv-disk-ioeventfd.xml
tests/qemuxml2argvdata/qemuxml2argv-event_idx.args
tests/qemuxml2argvdata/qemuxml2argv-event_idx.xml
tests/qemuxml2argvdata/qemuxml2argv-virtio-lun.args
tests/qemuxml2argvdata/qemuxml2argv-virtio-lun.xml

index ac980006c17bba3343128e9c1021b5b33ea98e31..89b0f7f81b5f9861903ac34315444cb722a01e00 100644 (file)
@@ -1,7 +1,7 @@
-LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
+LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test \
 /usr/bin/qemu -S -M pc -bios /usr/share/seabios/bios.bin \
--m 1024 -smp 1 -nodefaults -device sga \
+-m 1024 -smp 1 -nographic -nodefaults -device sga \
 -monitor unix:/tmp/test-monitor,server,nowait -no-acpi -boot c \
 -hda /dev/HostVG/QEMUGuest1 -serial pty \
--usb -device usb-tablet,id=input0 -vnc 127.0.0.1:0 \
+-usb -device usb-tablet,id=input0 \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
index d1795f63f8ed7d2faac14da60dda5c8a9461b8be..52acba4099d89894b44cc99a2c1a0c142df850bf 100644 (file)
     </console>
     <input type='tablet' bus='usb'/>
     <input type='mouse' bus='ps2'/>
-    <graphics type='vnc' port='5900' autoport='no' listen='127.0.0.1'/>
-    <video>
-      <model type='cirrus' vram='9216' heads='1'/>
-    </video>
     <memballoon model='virtio'/>
   </devices>
 </domain>
index 2ca586d6d2faf0fb32afcbdaa5a74eb8fa52e518..6f692eba1809435a92d65d1666cf1c24274b4cf8 100644 (file)
@@ -1,5 +1,5 @@
-LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
-/usr/bin/qemu -S -M pc-0.13 -m 1024 -smp 1 -nodefaults \
+LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test \
+/usr/bin/qemu -S -M pc-0.13 -m 1024 -smp 1 -nographic -nodefaults \
 -monitor unix:/tmp/test-monitor,server,nowait -no-acpi \
 -boot dc -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \
 -drive file=/var/lib/libvirt/images/f14.img,if=none,id=drive-virtio-disk0,copy-on-read=on \
@@ -7,5 +7,5 @@ LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
 -drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,if=none,media=cdrom,id=drive-ide0-1-0 \
 -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
 -device virtio-net-pci,tx=bh,vlan=0,id=net0,mac=52:54:00:e5:48:58,bus=pci.0,addr=0x3 \
--net user,vlan=0,name=hostnet0 -serial pty -usb -vnc 127.0.0.1:-809 -std-vga \
+-net user,vlan=0,name=hostnet0 -serial pty -usb \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
index 30346477366add117f4ed5078a5c32df19858e38..0834cf20cb74b7051e58e59b297ee2656a4fd045 100644 (file)
     <console type='pty'>
       <target type='serial' port='0'/>
     </console>
-    <graphics type='vnc' port='5091' autoport='no' listen='127.0.0.1'/>
-    <video>
-      <model type='vga' vram='9216' heads='1'/>
-      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
-    </video>
   </devices>
 </domain>
index 2f4e7fd674b32950913b9e17a07df4cde952fb48..14cbfb96007c48275eefd2ffbb4094417baf65b5 100644 (file)
@@ -1,5 +1,5 @@
-LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
-/usr/bin/qemu -S -M pc-0.13 -m 1024 -smp 1 -nodefaults \
+LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test \
+/usr/bin/qemu -S -M pc-0.13 -m 1024 -smp 1 -nographic -nodefaults \
 -monitor unix:/tmp/test-monitor,server,nowait -no-acpi \
 -boot dc -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \
 -drive file=/var/lib/libvirt/images/f14.img,if=none,id=drive-virtio-disk0 \
@@ -7,5 +7,5 @@ LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
 -drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,if=none,media=cdrom,id=drive-ide0-1-0 \
 -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
 -device virtio-net-pci,tx=bh,ioeventfd=off,vlan=0,id=net0,mac=52:54:00:e5:48:58,bus=pci.0,addr=0x3 \
--net user,vlan=0,name=hostnet0 -serial pty -usb -vnc 127.0.0.1:-809 -std-vga \
+-net user,vlan=0,name=hostnet0 -serial pty -usb \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
index 7e2f40a5869d8ba0856f7d5d4afd57ffb0ee66e3..edfa73100ab9ea1d56cc9fab4747ef7aad64b2b6 100644 (file)
     <console type='pty'>
       <target type='serial' port='0'/>
     </console>
-    <graphics type='vnc' port='5091' autoport='no' listen='127.0.0.1'/>
-    <video>
-      <model type='vga' vram='9216' heads='1'/>
-      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
-    </video>
   </devices>
 </domain>
index a506274ef902a3b8e6c7e1cf10bdb71a360f9ea5..0e5c0c3e9b71a561ab13aa9b9fdd8e8d9cae59d9 100644 (file)
@@ -1,5 +1,5 @@
-LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
-/usr/bin/qemu -S -M pc-0.13 -m 1024 -smp 1 -nodefaults \
+LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test \
+/usr/bin/qemu -S -M pc-0.13 -m 1024 -smp 1 -nographic -nodefaults \
 -monitor unix:/tmp/test-monitor,server,nowait -no-acpi \
 -boot dc -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \
 -drive file=/var/lib/libvirt/images/f14.img,if=none,id=drive-virtio-disk0 \
@@ -7,5 +7,5 @@ LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
 -drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,if=none,media=cdrom,id=drive-ide0-1-0 \
 -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
 -device virtio-net-pci,event_idx=off,vlan=0,id=net0,mac=52:54:00:e5:48:58,bus=pci.0,addr=0x3 \
--net user,vlan=0,name=hostnet0 -serial pty -usb -vnc 127.0.0.1:-809 -std-vga \
+-net user,vlan=0,name=hostnet0 -serial pty -usb \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
index d50af0bf62920c984317f17ceebe3e327d408cb8..22e388ffafe87f3eda017ed5dd416c465ae31842 100644 (file)
     <console type='pty'>
       <target type='serial' port='0'/>
     </console>
-    <input type='mouse' bus='ps2'/>
-    <graphics type='vnc' port='5091' autoport='no' listen='127.0.0.1'>
-      <listen type='address' address='127.0.0.1'/>
-    </graphics>
-    <video>
-      <model type='vga' vram='9216' heads='1'/>
-      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
-    </video>
     <memballoon model='virtio'/>
   </devices>
 </domain>
index b229f2a0dba37cfe2074cdd1400b74a257fdc51b..dbf329dd7a1c3f58430aad83f8279573f03da609 100644 (file)
@@ -1,5 +1,5 @@
-LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
-/usr/bin/qemu -S -M pc-0.13 -m 1024 -smp 1 -nodefaults \
+LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test \
+/usr/bin/qemu -S -M pc-0.13 -m 1024 -smp 1 -nographic -nodefaults \
 -monitor unix:/tmp/test-monitor,server,nowait -no-acpi \
 -boot dc -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \
 -drive file=/dev/sdfake,if=none,id=drive-virtio-disk0 \
@@ -7,5 +7,5 @@ LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
 -drive file=/dev/sdfake2,if=none,id=drive-virtio-disk1 \
 -device virtio-blk-pci,scsi=on,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,id=virtio-disk1 \
 -device virtio-net-pci,vlan=0,id=net0,mac=52:54:00:e5:48:58,bus=pci.0,addr=0x3 \
--net user,vlan=0,name=hostnet0 -serial pty -usb -vnc 127.0.0.1:-809 -std-vga \
+-net user,vlan=0,name=hostnet0 -serial pty -usb \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7
index d33534a9f41abd3615843051cf4a2b3bba46b4fe..c4f0079cef0a6a02338035cd44ffea67afec8d28 100644 (file)
     <console type='pty'>
       <target type='serial' port='0'/>
     </console>
-    <input type='mouse' bus='ps2'/>
-    <graphics type='vnc' port='5091' autoport='no' listen='127.0.0.1'>
-      <listen type='address' address='127.0.0.1'/>
-    </graphics>
-    <video>
-      <model type='vga' vram='9216' heads='1'/>
-      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
-    </video>
     <memballoon model='virtio'/>
   </devices>
 </domain>