aboutsummaryrefslogtreecommitdiff
path: root/tests/acceptance
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-01-29 22:23:40 +0100
committerPhilippe Mathieu-Daudé <philmd@redhat.com>2020-02-07 15:12:48 +0100
commit77f50e826faeb5e7c511e9d99adfbd086ffbff4d (patch)
tree2e474ed6baf73e0e42e89f84f7144b578442ab79 /tests/acceptance
parente435f66bd33bd2e4847e6882918e1a016d757eab (diff)
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 <thuth@redhat.com> Message-Id: <20200129212345.20547-25-philmd@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'tests/acceptance')
-rwxr-xr-xtests/acceptance/virtio_check_params.py1
1 files changed, 1 insertions, 0 deletions
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: