提交 16c4054f 编写于 作者: L Lukáš Doktor 提交者: Lucas Meneghel Rodrigues

kvm.virtio_console: FIX test_rw_notconnect_guest

Console version of test_rw_notconnect_guest used the second vio port,
but should use the first one instead. Test might fail in case VM
was recreated by the test.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 e3c7653a
......@@ -1457,7 +1457,7 @@ def run_virtio_console(test, params, env):
if use_serialport:
port = get_virtio_ports(vm)[1][0]
else:
port = get_virtio_ports(vm)[0][1]
port = get_virtio_ports(vm)[0][0]
if not port.is_open():
port.open()
else:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册