]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: command: drop redundant min_guarantee check
authorCole Robinson <crobinso@redhat.com>
Mon, 18 Apr 2016 23:06:12 +0000 (19:06 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 19 Apr 2016 15:53:28 +0000 (11:53 -0400)
We already reject a VM with min_guarantee early in the VM startup
in qemuProcessStartValidate

src/qemu/qemu_command.c

index 26c19ff55b020b14c41d1135be56960b6b50b3f4..2fb967acbfe8b857d1c84faf165e63c8e265222a 100644 (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"));