mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
Fix minor typos
This commit is contained in:
parent
fd754cb69c
commit
ca18914e8a
@ -419,7 +419,7 @@
|
||||
|
||||
# What cgroup controllers to make use of with QEMU guests
|
||||
#
|
||||
# - 'cpu' - use for schedular tunables
|
||||
# - 'cpu' - use for scheduler tunables
|
||||
# - 'devices' - use for device whitelisting
|
||||
# - 'memory' - use for memory tunables
|
||||
# - 'blkio' - use for block devices I/O tunables
|
||||
|
@ -3694,7 +3694,7 @@ qemuDomainWatchdogDefValidate(const virDomainWatchdogDef *dev,
|
||||
if (dev->info.type != VIR_DOMAIN_DEVICE_ADDRESS_TYPE_NONE &&
|
||||
dev->info.type != VIR_DOMAIN_DEVICE_ADDRESS_TYPE_PCI) {
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
||||
_("%s model of watchog can go only on PCI bus"),
|
||||
_("%s model of watchdog can go only on PCI bus"),
|
||||
virDomainWatchdogModelTypeToString(dev->model));
|
||||
return -1;
|
||||
}
|
||||
@ -3704,7 +3704,7 @@ qemuDomainWatchdogDefValidate(const virDomainWatchdogDef *dev,
|
||||
if (dev->info.type != VIR_DOMAIN_DEVICE_ADDRESS_TYPE_NONE &&
|
||||
dev->info.type != VIR_DOMAIN_DEVICE_ADDRESS_TYPE_ISA) {
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
||||
_("%s model of watchog can go only on ISA bus"),
|
||||
_("%s model of watchdog can go only on ISA bus"),
|
||||
virDomainWatchdogModelTypeToString(dev->model));
|
||||
return -1;
|
||||
}
|
||||
@ -3713,7 +3713,7 @@ qemuDomainWatchdogDefValidate(const virDomainWatchdogDef *dev,
|
||||
case VIR_DOMAIN_WATCHDOG_MODEL_DIAG288:
|
||||
if (dev->info.type != VIR_DOMAIN_DEVICE_ADDRESS_TYPE_NONE) {
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
||||
_("%s model of watchog is virtual and cannot go on any bus."),
|
||||
_("%s model of watchdog is virtual and cannot go on any bus."),
|
||||
virDomainWatchdogModelTypeToString(dev->model));
|
||||
return -1;
|
||||
}
|
||||
|
@ -1263,7 +1263,7 @@ xenHypervisorGetSchedulerParameters(virConnectPtr conn,
|
||||
|
||||
/* TODO: Implement for Xen/SEDF */
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
||||
_("SEDF schedular parameters not supported"));
|
||||
_("SEDF scheduler parameters not supported"));
|
||||
return -1;
|
||||
case XEN_SCHEDULER_CREDIT:
|
||||
memset(&op_dom, 0, sizeof(op_dom));
|
||||
@ -1361,7 +1361,7 @@ xenHypervisorSetSchedulerParameters(virConnectPtr conn,
|
||||
case XEN_SCHEDULER_SEDF:
|
||||
/* TODO: Implement for Xen/SEDF */
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
||||
_("SEDF schedular parameters not supported"));
|
||||
_("SEDF scheduler parameters not supported"));
|
||||
return -1;
|
||||
case XEN_SCHEDULER_CREDIT: {
|
||||
memset(&op_dom, 0, sizeof(op_dom));
|
||||
|
@ -2871,7 +2871,7 @@ xenDaemonGetSchedulerParameters(virConnectPtr conn,
|
||||
|
||||
/* TODO: Implement for Xen/SEDF */
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
||||
_("SEDF schedular parameters not supported"));
|
||||
_("SEDF scheduler parameters not supported"));
|
||||
goto error;
|
||||
case XEN_SCHED_CRED_NPARAM:
|
||||
/* get cpu_weight/cpu_cap from xend/domain */
|
||||
@ -2963,7 +2963,7 @@ xenDaemonSetSchedulerParameters(virConnectPtr conn,
|
||||
case XEN_SCHED_SEDF_NPARAM:
|
||||
/* TODO: Implement for Xen/SEDF */
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
||||
_("SEDF schedular parameters not supported"));
|
||||
_("SEDF scheduler parameters not supported"));
|
||||
goto error;
|
||||
case XEN_SCHED_CRED_NPARAM: {
|
||||
char buf_weight[VIR_UUID_BUFLEN];
|
||||
|
Loading…
x
Reference in New Issue
Block a user