From: Philippe Mathieu-Daudé Date: Wed, 29 Jan 2020 21:23:40 +0000 (+0100) Subject: tests/acceptance/virtio_check_params: Default to -nodefaults X-Git-Tag: qemu-xen-4.14.0~153^2~25 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=77f50e826faeb5e7c511e9d99adfbd086ffbff4d;p=qemu-xen.git tests/acceptance/virtio_check_params: Default to -nodefaults We don't need the default options to run this test. This fixes errors when running a binary built with --without-default-devices such: ERROR: qemu-system-s390x: Unknown device 'virtio-net-ccw' for bus 'virtual-css-bus' Reviewed-by: Thomas Huth Message-Id: <20200129212345.20547-25-philmd@redhat.com> Signed-off-by: Philippe Mathieu-Daudé --- diff --git a/tests/acceptance/virtio_check_params.py b/tests/acceptance/virtio_check_params.py index 29e91bfa37..22792d4ec6 100755 --- a/tests/acceptance/virtio_check_params.py +++ b/tests/acceptance/virtio_check_params.py @@ -79,6 +79,7 @@ class VirtioMaxSegSettingsCheck(Test): logger.debug(mt) with QEMUMachine(self.qemu_bin) as vm: vm.set_machine(mt["name"]) + vm.add_args('-nodefaults') for s in VM_DEV_PARAMS[dev_type_name]: vm.add_args(s) try: