From: Alexander Burluka Date: Tue, 16 Feb 2016 13:43:35 +0000 (+0300) Subject: Add error checking on global quota and period X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=fbcbd1b2520e92d8eb73cf1427d2f3de00a73510;p=libvirt.git Add error checking on global quota and period Signed-off-by: Alexander Burluka --- diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 0680478643..000c29d3e9 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -6957,7 +6957,8 @@ qemuBuildCommandLineValidate(virQEMUDriverPtr driver, } 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"));