]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: qemuxml2argv: drop redundant serial testing
authorCole Robinson <crobinso@redhat.com>
Mon, 26 Jun 2017 16:46:16 +0000 (12:46 -0400)
committerCole Robinson <crobinso@redhat.com>
Mon, 10 Jul 2017 20:59:59 +0000 (16:59 -0400)
Several cases have incidental <serial> or <console> XML which aren't
the features being tested for. Upcoming changes will cause some
churn here, so instead drop these bits now.

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
23 files changed:
tests/qemuxml2argvdata/qemuxml2argv-bios-nvram-secure.args
tests/qemuxml2argvdata/qemuxml2argv-bios-nvram-secure.xml
tests/qemuxml2argvdata/qemuxml2argv-bios-nvram.args
tests/qemuxml2argvdata/qemuxml2argv-bios-nvram.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-graphics-spice-timeout.args
tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.xml
tests/qemuxml2argvdata/qemuxml2argv-hugepages-numa.args
tests/qemuxml2argvdata/qemuxml2argv-hugepages-numa.xml
tests/qemuxml2argvdata/qemuxml2argv-memory-hotplug-ppc64-nonuma.args
tests/qemuxml2argvdata/qemuxml2argv-memory-hotplug-ppc64-nonuma.xml
tests/qemuxml2argvdata/qemuxml2argv-virtio-lun.args
tests/qemuxml2argvdata/qemuxml2argv-virtio-lun.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-bios-nvram.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-disk-copy_on_read.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-event_idx.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-spice-timeout.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-virtio-lun.xml

index 887e8b3bbafa224a322da6647695427759ff5e0d..571c8ae78c1a54680a7b42fe53fb84afb3d2a4e1 100644 (file)
@@ -28,5 +28,4 @@ server,nowait \
 -drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-scsi0-0-0-0 \
 -device scsi-disk,bus=scsi0.0,channel=0,scsi-id=0,lun=0,\
 drive=drive-scsi0-0-0-0,id=scsi0-0-0-0 \
--serial pty \
 -device virtio-balloon-pci,id=balloon0,bus=pci.2,addr=0x2
index f250557348bd59128dd452dc675a07e9f61c1d8a..5eb84c868e365f3d7de2dea32b7b40f3fec5dc9c 100644 (file)
     </disk>
     <controller type='scsi' index='0'/>
     <controller type='pci' index='0' model='pcie-root'/>
-    <serial type='pty'>
-      <target port='0'/>
-    </serial>
-    <console type='pty'>
-      <target type='serial' port='0'/>
-    </console>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
     <memballoon model='virtio'/>
index 395d5bbdd8eac33022e5262c1790840752f51e99..155e605c5b7a5b3c2c190290c58ebe54b7224a4e 100644 (file)
@@ -23,6 +23,5 @@ server,nowait \
 -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 \
--serial pty \
 -device usb-tablet,id=input0,bus=usb.0,port=1 \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
index d3a2465f872ff353e9421fcc694fb3f0578ab8c8..9cc7853e484e5216c41f2562caf7eb40e599dfc3 100644 (file)
     <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='pci' index='0' model='pci-root'/>
-    <serial type='pty'>
-      <target port='0'/>
-    </serial>
-    <console type='pty'>
-      <target type='serial' port='0'/>
-    </console>
     <input type='tablet' bus='usb'/>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
index 046b7e01edfa03a0cab70b058cb89a13c770369e..1aead994407e72256da8c51202c7935b880e0202 100644 (file)
@@ -30,5 +30,4 @@ media=cdrom,id=drive-ide0-1-0,readonly=on \
 -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 \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
index 9b1fc018daf0112e1cbec93a738bc6ebb925de0d..52b2196137eb765e388e070365366cd6aadcd2d5 100644 (file)
       <model type='virtio'/>
       <driver name='vhost' txmode='iothread'/>
     </interface>
-    <serial type='pty'>
-      <target port='0'/>
-    </serial>
-    <console type='pty'>
-      <target type='serial' port='0'/>
-    </console>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
     <memballoon model='virtio'/>
index 29fc7ba8bf7675373f527584543990de3b531c0b..a14fbd19b3e1a303f80707fd451edc93602e9ec8 100644 (file)
@@ -30,5 +30,4 @@ media=cdrom,id=drive-ide0-1-0,readonly=on \
 -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 \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
index 3131506092367a9857b6953f99ac8a39e62ea077..55c11177246b6530a8dba55ff0a9b2f9b30dbc9f 100644 (file)
     <controller type='virtio-serial' index='0'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
     </controller>
-    <serial type='pty'>
-      <target port='0'/>
-    </serial>
-    <console type='pty'>
-      <target type='serial' port='0'/>
-    </console>
   </devices>
 </domain>
index d1399bddd72c5d7a92e038673cdb6bbfb8271709..1c9f4f11523204dcc9d6243baebdd838d07377aa 100644 (file)
@@ -30,5 +30,4 @@ media=cdrom,id=drive-ide0-1-0,readonly=on \
 -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 \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
index 848bfeab98fde743942832846817ad21bc8768dc..c1771398505a692fa6ab5e0f206e114fc2363944 100644 (file)
       <model type='virtio'/>
       <driver name='vhost' event_idx='off'/>
     </interface>
-    <serial type='pty'>
-      <target port='0'/>
-    </serial>
-    <console type='pty'>
-      <target type='serial' port='0'/>
-    </console>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
     <memballoon model='virtio'/>
index 9b06db12c8abc9b0c9205badce4c77ca124faea7..bb9d613959f4efb646795d12f653806a1b3ff4f7 100644 (file)
@@ -29,7 +29,6 @@ media=cdrom,id=drive-ide0-1-0,readonly=on \
 -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
 -device rtl8139,vlan=0,id=net0,mac=52:54:00:71:70:89,bus=pci.0,addr=0x7 \
 -net tap,fd=3,vlan=0,name=hostnet0 \
--serial pty \
 -device usb-tablet,id=input0,bus=usb.0,port=1 \
 -spice port=5900,addr=127.0.0.1 \
 -vga std \
index b8edb705697948c6d925d845bc3cfa2028521d04..b6714e6518ed60438d99e12eb7c26a36a6ab672d 100644 (file)
       <script path='/etc/qemu-ifup'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
     </interface>
-    <serial type='pty'>
-      <target port='0'/>
-    </serial>
-    <console type='pty'>
-      <target type='serial' port='0'/>
-    </console>
     <input type='tablet' bus='usb'/>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
index 90ffa6fa8070d53f3f3d32e4e8573f351d83e5ac..067cea741e511cded62e5262d801a9323cb741af 100644 (file)
@@ -40,7 +40,6 @@ id=drive-virtio-disk0 \
 id=virtio-disk0 \
 -drive if=none,media=cdrom,id=drive-ide0-0-0,readonly=on \
 -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
--serial pty \
 -chardev socket,id=charchannel0,\
 path=/var/lib/libvirt/qemu/channel/target/fedora.org.qemu.guest_agent.0,server,\
 nowait \
index 8cda5c6e656dbbc4b1e226f3d810b3a6a0ea54e1..eef471b4ece76111f547503e8f5e73a75c637464 100644 (file)
     <controller type='virtio-serial' index='0'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
     </controller>
-    <serial type='pty'>
-      <target port='0'/>
-    </serial>
-    <console type='pty'>
-      <target type='serial' port='0'/>
-    </console>
     <channel type='unix'>
       <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/fedora.org.qemu.guest_agent.0'/>
       <target type='virtio' name='org.qemu.guest_agent.0'/>
index 8d8b6e915443081f7ad7693bafaad57dee4c61c1..3f6148fd5fb67c92b0d745ee6e2649a78e73356d 100644 (file)
@@ -25,5 +25,4 @@ server,nowait \
 -initrd /media/ram/ramdisk \
 -append 'root=/dev/ram rw console=ttyS0,115200' \
 -usb \
--serial pty \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x2
index b6696e2df678c9ce4e7a7e3b5fa468aea8bfd58f..7c68cd6aa22e59bab41f52a1ba130966bcedf687 100644 (file)
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-ppc64</emulator>
-    <serial type='pty'>
-      <target port='0'/>
-    </serial>
-    <console type='pty'>
-      <target type='serial' port='0'/>
-    </console>
     <memballoon model='virtio'/>
     <memory model='dimm'>
       <target>
index c536fb0ab63919f7c621e6521969f5974868b044..54bc28e0de8bceb8da76f2d552e7f0335f9804a1 100644 (file)
@@ -28,5 +28,4 @@ id=virtio-disk0 \
 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 \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7
index 5332f72d1ac6930684724c89631841a9ecd38998..769c129f17744e02fb978c777f560300f2357d0a 100644 (file)
       <model type='virtio'/>
       <driver name='vhost' event_idx='off'/>
     </interface>
-    <serial type='pty'>
-      <target port='0'/>
-    </serial>
-    <console type='pty'>
-      <target type='serial' port='0'/>
-    </console>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
     <memballoon model='virtio'/>
index 033e86d3a37ee8c5ea5d4f71b4a1a8ae048ca768..8e254925ba6de773a269fcdde79c24e7b6a83fe8 100644 (file)
       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
     </controller>
     <controller type='pci' index='0' model='pci-root'/>
-    <serial type='pty'>
-      <target port='0'/>
-    </serial>
-    <console type='pty'>
-      <target type='serial' port='0'/>
-    </console>
     <input type='tablet' bus='usb'/>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
index 71287987383950e44e6702d631bed6abc287b279..b5fda01fee259f5f2b0e646af4cceebc2bf72c6c 100644 (file)
       <driver name='vhost' txmode='iothread'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
     </interface>
-    <serial type='pty'>
-      <target port='0'/>
-    </serial>
-    <console type='pty'>
-      <target type='serial' port='0'/>
-    </console>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
     <memballoon model='virtio'>
index 5c780c74c73ba439dc10d489d67eac8e3333256b..4976da89929816c497975c1469ed4c6d886150ad 100644 (file)
       <driver name='vhost' event_idx='off'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
     </interface>
-    <serial type='pty'>
-      <target port='0'/>
-    </serial>
-    <console type='pty'>
-      <target type='serial' port='0'/>
-    </console>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
     <memballoon model='virtio'>
index 8216d6d8817d483714c594ab82806b7e24e23f65..87d04c886681d6cc626451a40c6d1ac72abff5bf 100644 (file)
       <model type='rtl8139'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
     </interface>
-    <serial type='pty'>
-      <target port='0'/>
-    </serial>
-    <console type='pty'>
-      <target type='serial' port='0'/>
-    </console>
     <input type='tablet' bus='usb'/>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
index d08c2edc4b8773e5ef11fc52fff1afde2bdd50f6..c98e2dc620fd667d8ae96d82b2a8a0062b2604bb 100644 (file)
       <driver name='vhost' event_idx='off'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
     </interface>
-    <serial type='pty'>
-      <target port='0'/>
-    </serial>
-    <console type='pty'>
-      <target type='serial' port='0'/>
-    </console>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
     <memballoon model='virtio'>