[libvirt] [PATCH v7 3/6] Add error checking on global quota and period

Alexander Burluka aburluka at virtuozzo.com
Tue Feb 16 13:43:35 UTC 2016


Signed-off-by: Alexander Burluka <aburluka at virtuozzo.com>
---
 src/qemu/qemu_command.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 7a8ae73..d2217b0 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -9174,7 +9174,8 @@ qemuBuildCommandLine(virConnectPtr conn,
         }
 
         if (def->cputune.sharesSpecified || def->cputune.period ||
-            def->cputune.quota || def->cputune.emulator_period ||
+            def->cputune.quota || def->cputune.global_period ||
+            def->cputune.global_quota || def->cputune.emulator_period ||
             def->cputune.emulator_quota) {
             virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
                            _("CPU tuning is not available in session mode"));
-- 
1.8.3.1




More information about the libvir-list mailing list