提交 337265bb 编写于 作者: L Luyao Huang 提交者: Pavel Hrdina

qemu: fix vm deadlock when try to use numatune in session mode

https://bugzilla.redhat.com/show_bug.cgi?id=1126762

Commit 43b67f introduced a deadlock issue when we use numatune
to change numa settings to a vm in session mode.

Jump to endjob instead of jump to cleanup.
Signed-off-by: NLuyao Huang <lhuang@redhat.com>
上级 7832fac8
...@@ -9495,7 +9495,7 @@ qemuDomainSetNumaParameters(virDomainPtr dom, ...@@ -9495,7 +9495,7 @@ qemuDomainSetNumaParameters(virDomainPtr dom,
flags & VIR_DOMAIN_AFFECT_LIVE) { flags & VIR_DOMAIN_AFFECT_LIVE) {
virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s", virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s",
_("NUMA tuning is not available in session mode")); _("NUMA tuning is not available in session mode"));
goto cleanup; goto endjob;
} }
if (flags & VIR_DOMAIN_AFFECT_LIVE) { if (flags & VIR_DOMAIN_AFFECT_LIVE) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册