mirror of
https://github.com/qemu/qemu.git
synced 2025-08-07 14:43:53 +00:00
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>
This commit is contained in:
parent
e435f66bd3
commit
77f50e826f
@ -79,6 +79,7 @@ def check_mt(self, mt, dev_type_name):
|
|||||||
logger.debug(mt)
|
logger.debug(mt)
|
||||||
with QEMUMachine(self.qemu_bin) as vm:
|
with QEMUMachine(self.qemu_bin) as vm:
|
||||||
vm.set_machine(mt["name"])
|
vm.set_machine(mt["name"])
|
||||||
|
vm.add_args('-nodefaults')
|
||||||
for s in VM_DEV_PARAMS[dev_type_name]:
|
for s in VM_DEV_PARAMS[dev_type_name]:
|
||||||
vm.add_args(s)
|
vm.add_args(s)
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user