mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Add error checking on global quota and period
Signed-off-by: Alexander Burluka <aburluka@virtuozzo.com>
This commit is contained in:
parent
55ecdae0fb
commit
fbcbd1b252
@ -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"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user