diff --git a/qemu/tests/cfg/chardev_free_port.cfg b/qemu/tests/cfg/chardev_free_port.cfg index 4e8039035fc6f53ec02a0b15162049264a141895..160c791d3c9c1d83d58a6a3c71126c3d6723321b 100644 --- a/qemu/tests/cfg/chardev_free_port.cfg +++ b/qemu/tests/cfg/chardev_free_port.cfg @@ -3,7 +3,6 @@ type = chardev_free_port vms = 'vm0 vm1' start_vm = no - image_snapshot = on + image_snapshot = yes extra_chardevs = "channel1" chardev_backend_channel1 = "tcp_socket" - qemu_force_use_drive_expression = yes diff --git a/qemu/tests/chardev_free_port.py b/qemu/tests/chardev_free_port.py index 0b4dead391282b5189dc3b7cf6be29506197e9e9..b007d0a92c579dce2035a6a15dbce90277c4c476 100644 --- a/qemu/tests/chardev_free_port.py +++ b/qemu/tests/chardev_free_port.py @@ -33,7 +33,8 @@ def run(test, params, env): extra_params = ' ' + char_device.cmdline() params['extra_params_%s' % vm] = params.get('extra_params', '') + extra_params params['start_vm_%s' % vm] = "yes" - env_process.preprocess(test, params, env) + env_process.preprocess(test, params, env) + for vm in vms: _vm = env.get_vm(vm) chardev_infos.append(_vm.monitor.info("chardev")) _port, _to = int(chardev_params['port']), int(chardev_params['to'])