From bdd15d471ae934cb14c00074b8532e14b29efa77 Mon Sep 17 00:00:00 2001 From: Lin Ma Date: Fri, 1 Dec 2017 19:31:29 +0800 Subject: [PATCH] tests: Remove use of IDE disk for pseries floppy test Adding an IDE controller for a machinetype that has no built-in IDE controller, libvirt will log an error. Currently the machinetype list which returns by qemuDomainMachineHasBuiltinIDE only includes 440fx, malta, sun4u and g3beige. Remove the disk and the .args file since the expectation is the test will fail in qemuxml2argvtest because floppy is not supported on pseries and thus no disk is necessary and no .args file would be created to compare against. Signed-off-by: Lin Ma Signed-off-by: John Ferlan --- .../qemuxml2argvdata/disk-floppy-pseries.args | 24 ------------------- .../qemuxml2argvdata/disk-floppy-pseries.xml | 7 ------ 2 files changed, 31 deletions(-) delete mode 100644 tests/qemuxml2argvdata/disk-floppy-pseries.args diff --git a/tests/qemuxml2argvdata/disk-floppy-pseries.args b/tests/qemuxml2argvdata/disk-floppy-pseries.args deleted file mode 100644 index 72a4183024..0000000000 --- a/tests/qemuxml2argvdata/disk-floppy-pseries.args +++ /dev/null @@ -1,24 +0,0 @@ -LC_ALL=C \ -PATH=/bin \ -HOME=/home/test \ -USER=test \ -LOGNAME=test \ -QEMU_AUDIO_DRV=none \ -/usr/bin/qemu-system-ppc64 \ --name QEMUGuest1 \ --S \ --M pseries \ --m 214 \ --smp 1 \ --uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ --nographic \ --monitor unix:/tmp/test-monitor,server,nowait \ --no-acpi \ --boot c \ --usb \ --drive file=/dev/HostVG/QEMUGuest1,format=raw,if=ide,bus=0,unit=0 \ --drive file=/dev/fd0,format=raw,if=floppy,unit=0 \ --drive file=/tmp/firmware.img,format=raw,if=floppy,unit=1 \ --net none \ --serial none \ --parallel none diff --git a/tests/qemuxml2argvdata/disk-floppy-pseries.xml b/tests/qemuxml2argvdata/disk-floppy-pseries.xml index be0ede6bdd..a4191abe19 100644 --- a/tests/qemuxml2argvdata/disk-floppy-pseries.xml +++ b/tests/qemuxml2argvdata/disk-floppy-pseries.xml @@ -14,12 +14,6 @@ destroy /usr/bin/qemu-system-ppc64 - - - - -
- @@ -34,7 +28,6 @@ -