提交 91f622ef 编写于 作者: N nanliu

chardev:remove the force drive parameter

Signed-off-by: NNana Liu <nanliu@redhat.com>
上级 079bc5a1
......@@ -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
......@@ -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'])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册