未验证 提交 b1281e3c 编写于 作者: C Cong 提交者: GitHub

Merge pull request #1236 from CongLi/block_hotplug

qemu.tests.block_hotplug: make the condition detection of vm.is_dead() more robust.
......@@ -209,7 +209,7 @@ def run(test, params, env):
error_context.context(context_msg % (sub_type, "after hotplug"),
logging.info)
utils_test.run_virt_sub_test(test, params, env, sub_type)
if vm.is_dead():
if sub_type == "shutdown" and vm.is_dead():
return
sub_type = params.get("sub_type_before_unplug")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册