mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
qemu: command: drop redundant min_guarantee check
We already reject a VM with min_guarantee early in the VM startup in qemuProcessStartValidate
This commit is contained in:
parent
b0a2ba2462
commit
153903ec53
@ -9143,7 +9143,6 @@ qemuBuildCommandLineValidate(virQEMUDriverPtr driver,
|
|||||||
|
|
||||||
if (virMemoryLimitIsSet(def->mem.hard_limit) ||
|
if (virMemoryLimitIsSet(def->mem.hard_limit) ||
|
||||||
virMemoryLimitIsSet(def->mem.soft_limit) ||
|
virMemoryLimitIsSet(def->mem.soft_limit) ||
|
||||||
def->mem.min_guarantee ||
|
|
||||||
virMemoryLimitIsSet(def->mem.swap_hard_limit)) {
|
virMemoryLimitIsSet(def->mem.swap_hard_limit)) {
|
||||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
||||||
_("Memory tuning is not available in session mode"));
|
_("Memory tuning is not available in session mode"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user