From 153903ec53925923fb41b16a20717ffbc852a8db Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Mon, 18 Apr 2016 19:06:12 -0400 Subject: [PATCH] qemu: command: drop redundant min_guarantee check We already reject a VM with min_guarantee early in the VM startup in qemuProcessStartValidate --- src/qemu/qemu_command.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 26c19ff55b..2fb967acbf 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -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")); -- GitLab