diff mbox

qemu: command: drop redundant min_guarantee check

Message ID 13be7101109c0229390ebc8d1bc519ccbdbcf1c8.1461021151.git.crobinso@redhat.com
State Accepted
Commit 153903ec53925923fb41b16a20717ffbc852a8db
Headers show

Commit Message

Cole Robinson April 18, 2016, 11:12 p.m. UTC
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(-)

-- 
2.7.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
diff mbox

Patch

diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 26c19ff..2fb967a 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"));