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:
Cole Robinson 2016-04-18 19:06:12 -04:00
parent b0a2ba2462
commit 153903ec53

View File

@ -9143,7 +9143,6 @@ qemuBuildCommandLineValidate(virQEMUDriverPtr driver,
if (virMemoryLimitIsSet(def->mem.hard_limit) ||
virMemoryLimitIsSet(def->mem.soft_limit) ||
def->mem.min_guarantee ||
virMemoryLimitIsSet(def->mem.swap_hard_limit)) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
_("Memory tuning is not available in session mode"));