mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: Sort the numa params only when it affects the live config
As the next boot doesn't have to worry about the previous numa params setting (there is no).
This commit is contained in:
parent
d0c0e79ac6
commit
20b780aec9
@ -7179,6 +7179,7 @@ qemuDomainSetMemoryParameters(virDomainPtr dom,
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if (flags & VIR_DOMAIN_AFFECT_LIVE) {
|
||||
/* Get current swap hard limit */
|
||||
rc = virCgroupGetMemSwapHardLimit(group, &val);
|
||||
if (rc != 0) {
|
||||
@ -7207,6 +7208,7 @@ qemuDomainSetMemoryParameters(virDomainPtr dom,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ret = 0;
|
||||
for (i = 0; i < nparams; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user