]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: qemuxml2argv: Remove disks from few tests which don't need them
authorPeter Krempa <pkrempa@redhat.com>
Wed, 28 Nov 2018 12:52:40 +0000 (13:52 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 5 Dec 2018 16:53:26 +0000 (17:53 +0100)
Remove the disk from tests focusing on other aspects so that change to
-blockdev will touch less tests.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
14 files changed:
tests/qemuxml2argvdata/channel-unix-guestfwd.x86_64-2.5.0.args
tests/qemuxml2argvdata/channel-unix-guestfwd.x86_64-latest.args
tests/qemuxml2argvdata/channel-unix-guestfwd.xml
tests/qemuxml2argvdata/console-virtio-unix.x86_64-2.5.0.args
tests/qemuxml2argvdata/console-virtio-unix.x86_64-latest.args
tests/qemuxml2argvdata/console-virtio-unix.xml
tests/qemuxml2argvdata/net-vhostuser.args
tests/qemuxml2argvdata/net-vhostuser.x86_64-2.5.0.args
tests/qemuxml2argvdata/net-vhostuser.x86_64-latest.args
tests/qemuxml2argvdata/net-vhostuser.xml
tests/qemuxml2argvdata/parallel-unix-chardev.x86_64-2.5.0.args
tests/qemuxml2argvdata/parallel-unix-chardev.x86_64-latest.args
tests/qemuxml2argvdata/parallel-unix-chardev.xml
tests/qemuxml2xmloutdata/net-vhostuser.xml

index f0e718e4a2de94c848a120f201bd787224bb5eed..e8776ca24efcc22c0be4cd8c1c3766eba3a7a1a6 100644 (file)
@@ -23,8 +23,6 @@ server,nowait \
 -no-acpi \
 -boot strict=on \
 -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
--drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
--device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
 -chardev socket,id=charchannel0,path=/tmp/guestfwd-listen.socket,server,nowait \
 -netdev user,guestfwd=tcp:10.0.2.1:4600-chardev:charchannel0,id=user-channel0 \
 -chardev socket,id=charchannel1,path=/tmp/guestfwd-connect.socket \
index f9b9ee5fdb7a369ce1d9642c01b453be05f5f1e8..db14217c1b3e40886942bf4aa1c8496118a9f2d3 100644 (file)
@@ -24,8 +24,6 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -no-acpi \
 -boot strict=on \
 -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
--drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
--device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
 -chardev socket,id=charchannel0,fd=1729,server,nowait \
 -netdev user,guestfwd=tcp:10.0.2.1:4600-chardev:charchannel0,id=user-channel0 \
 -chardev socket,id=charchannel1,path=/tmp/guestfwd-connect.socket \
index c9698a12596d0748c3c6fded0727f071e863f608..01c9a24ff0a0af48099b1a69462aeea52a528941 100644 (file)
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-x86_64</emulator>
-    <disk type='block' device='disk'>
-      <source dev='/dev/HostVG/QEMUGuest1'/>
-      <target dev='hda' bus='ide'/>
-      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
-    </disk>
     <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='pci' index='0' model='pci-root'/>
index 425bdc5d120fbff028e506c6dbeb497e5c3464bb..5c37b1903e8b7a97ba20e6bebd0a4bb26d1531fe 100644 (file)
@@ -24,8 +24,6 @@ server,nowait \
 -boot strict=on \
 -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x2 \
--drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
--device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
 -chardev socket,id=charconsole0,path=/tmp/listen.socket,server,nowait \
 -device virtconsole,chardev=charconsole0,id=console0 \
 -chardev socket,id=charconsole1,path=/tmp/connect.socket \
index 193d4b1295316d1aa10a06cbc1a9a98c6c25af9a..0749b888b64fe37db248b36d20948cb2a82cefb3 100644 (file)
@@ -25,8 +25,6 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -boot strict=on \
 -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x2 \
--drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
--device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
 -chardev socket,id=charconsole0,fd=1729,server,nowait \
 -device virtconsole,chardev=charconsole0,id=console0 \
 -chardev socket,id=charconsole1,path=/tmp/connect.socket \
index 941e5a4a8aad4acf1adac738d1b4af03b863ee3a..1e11960c262366925bff2c076aac7fb6532fe258 100644 (file)
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-x86_64</emulator>
-    <disk type='block' device='disk'>
-      <source dev='/dev/HostVG/QEMUGuest1'/>
-      <target dev='hda' bus='ide'/>
-      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
-    </disk>
     <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <console type='unix'>
index 1b35a61e271fad416efa4e048f6550420874f430..516cb23123fb3e2c8f42b71e158d92f496625bbe 100644 (file)
@@ -20,9 +20,6 @@ QEMU_AUDIO_DRV=none \
 -no-shutdown \
 -no-acpi \
 -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,\
-bootindex=1 \
 -chardev socket,id=charnet0,path=/tmp/vhost0.sock,server \
 -netdev vhost-user,chardev=charnet0,id=hostnet0 \
 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:ee:96:6b,bus=pci.0,\
index 677a3c9e49a5cb9a1c409e46e734202eac1ca487..8f67b14a2bdec484d878c23fb6b825f372657893 100644 (file)
@@ -23,8 +23,6 @@ server,nowait \
 -no-acpi \
 -boot strict=on \
 -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
--drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
--device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
 -chardev socket,id=charnet0,path=/tmp/vhost0.sock,server \
 -netdev vhost-user,chardev=charnet0,id=hostnet0 \
 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:ee:96:6b,bus=pci.0,\
index 7dee2bdf58254eaf63b939c79626710de4296993..d96d8ca3a6e9a7b6f528ce160a5271d2aed6ece0 100644 (file)
@@ -24,8 +24,6 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -no-acpi \
 -boot strict=on \
 -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
--drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
--device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
 -chardev socket,id=charnet0,path=/tmp/vhost0.sock,server \
 -netdev vhost-user,chardev=charnet0,id=hostnet0 \
 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:ee:96:6b,bus=pci.0,\
index 917d67b9eb4159f4599612007875574a5c3cdc2b..1c491549b695cfe5b66ee7559096e96ac4cc15e3 100644 (file)
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-i686</emulator>
-    <disk type='block' device='disk'>
-      <driver name='qemu' type='raw'/>
-      <source dev='/dev/HostVG/QEMUGuest1'/>
-      <target dev='hda' bus='ide'/>
-      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
-    </disk>
     <controller type='usb' index='0'/>
     <controller type='ide' index='0'/>
     <controller type='pci' index='0' model='pci-root'/>
index d7d55ac61151e28d2da2e70c810a0bba6e3bc656..eb504a7210b574da8c5249bf02e0e3d46bdb5ef8 100644 (file)
@@ -23,8 +23,6 @@ server,nowait \
 -no-acpi \
 -boot strict=on \
 -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
--drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
--device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
 -chardev socket,id=charparallel0,path=/tmp/parport0.socket,server,nowait \
 -device isa-parallel,chardev=charparallel0,id=parallel0 \
 -chardev socket,id=charparallel1,path=/tmp/parport1.socket \
index 94841ea8c0217c5e479419c0098959f8b87a7550..e3fa87c5032e37320f86d38b4dd56d560e5d5342 100644 (file)
@@ -24,8 +24,6 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -no-acpi \
 -boot strict=on \
 -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
--drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
--device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
 -chardev socket,id=charparallel0,fd=1729,server,nowait \
 -device isa-parallel,chardev=charparallel0,id=parallel0 \
 -chardev socket,id=charparallel1,path=/tmp/parport1.socket \
index d4fe94779ecb8257b7b33d21801661b383a7ce1f..2d0bae3589cf4fb74ba543135f43ec16c052d1db 100644 (file)
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-x86_64</emulator>
-    <disk type='block' device='disk'>
-      <source dev='/dev/HostVG/QEMUGuest1'/>
-      <target dev='hda' bus='ide'/>
-      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
-    </disk>
     <controller type='ide' index='0'/>
     <parallel type='unix'>
       <source mode='bind' path='/tmp/parport0.socket'/>
index b7f1bdc57f1a47b46a83bc41b28ff72f0788c5a1..9655c21ede06fdf9bbdd38b70384f63e27a78c88 100644 (file)
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-i686</emulator>
-    <disk type='block' device='disk'>
-      <driver name='qemu' type='raw'/>
-      <source dev='/dev/HostVG/QEMUGuest1'/>
-      <target dev='hda' bus='ide'/>
-      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
-    </disk>
     <controller type='usb' index='0'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
     </controller>