mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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: Luyao Huang <lhuang@redhat.com>
This commit is contained in:
parent
7832fac847
commit
337265bb52
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user