]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
tests/acceptance/virtio_check_params: Default to -nodefaults
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 29 Jan 2020 21:23:40 +0000 (22:23 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 7 Feb 2020 14:12:48 +0000 (15:12 +0100)
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>
tests/acceptance/virtio_check_params.py

index 29e91bfa37d391fc516e83169d95efa1b6cbd3ad..22792d4ec6cdaaf38ece351ef887f4f97c029e72 100755 (executable)
@@ -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: