mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
maint: typo fixes
Many of these were mentioned by Yuri Chornoivan in: https://bugzilla.redhat.com/show_bug.cgi?id=669506 * src/esx/esx_vi.c (esxVI_WaitForTaskCompletion): Fix spelling. * src/conf/netdev_vport_profile_conf.c (virNetDevVPortProfileParse): Likewise. * src/xen/xend_internal.c (xenDaemonDomainSetVcpusFlags): Likewise. * src/xen/xm_internal.c (xenXMDomainSetVcpusFlags): Likewise. * src/esx/esx_util.c (esxUtil_ResolveHostname): Likewise. * src/storage/storage_backend_fs.c (virStorageBackendFileSystemBuild): Likewise. * daemon/libvirtd.conf: Likewise. * src/util/logging.c (virLogMessage): Likewise. * src/uml/uml_conf.c (umlBuildCommandLineNet): Likewise. * src/vmx/vmx.c (virVMXFormatEthernet): Likewise.
This commit is contained in:
parent
059d746ddb
commit
a699793449
@ -284,7 +284,7 @@
|
||||
# Logging controls
|
||||
#
|
||||
|
||||
# Logging level: 4 errors, 3 warnings, 2 informations, 1 debug
|
||||
# Logging level: 4 errors, 3 warnings, 2 information, 1 debug
|
||||
# basically 1 will log everything possible
|
||||
#log_level = 3
|
||||
|
||||
@ -309,7 +309,7 @@
|
||||
# the event layer.
|
||||
|
||||
# Logging outputs:
|
||||
# An output is one of the places to save logging informations
|
||||
# An output is one of the places to save logging information
|
||||
# The format for an output can be:
|
||||
# x:stderr
|
||||
# output goes to stderr
|
||||
|
@ -167,7 +167,7 @@ virNetDevVPortProfileParse(xmlNodePtr node)
|
||||
}
|
||||
} else {
|
||||
virNetDevError(VIR_ERR_XML_ERROR, "%s",
|
||||
_("profileid parameter is missing for 802.1Qbh descripion"));
|
||||
_("profileid parameter is missing for 802.1Qbh description"));
|
||||
goto error;
|
||||
}
|
||||
break;
|
||||
|
@ -2,7 +2,7 @@
|
||||
/*
|
||||
* esx_util.c: utility functions for the VMware ESX driver
|
||||
*
|
||||
* Copyright (C) 2010 Red Hat, Inc.
|
||||
* Copyright (C) 2010-2011 Red Hat, Inc.
|
||||
* Copyright (C) 2009-2011 Matthias Bolte <matthias.bolte@googlemail.com>
|
||||
* Copyright (C) 2009 Maximilian Wilhelm <max@rfc2324.org>
|
||||
*
|
||||
@ -384,7 +384,7 @@ esxUtil_ResolveHostname(const char *hostname,
|
||||
|
||||
if (errcode != 0) {
|
||||
ESX_ERROR(VIR_ERR_INTERNAL_ERROR,
|
||||
_("Formating IP address for host '%s' failed: %s"), hostname,
|
||||
_("Formatting IP address for host '%s' failed: %s"), hostname,
|
||||
gai_strerror(errcode));
|
||||
freeaddrinfo(result);
|
||||
return -1;
|
||||
|
@ -3955,7 +3955,7 @@ esxVI_WaitForTaskCompletion(esxVI_Context *ctx,
|
||||
if (taskInfo->cancelable == esxVI_Boolean_True) {
|
||||
if (esxVI_CancelTask(ctx, task) < 0 && blocked) {
|
||||
VIR_ERROR(_("Cancelable task is blocked by an "
|
||||
"unanswered question but cancelation "
|
||||
"unanswered question but cancellation "
|
||||
"failed"));
|
||||
}
|
||||
} else if (blocked) {
|
||||
|
@ -706,7 +706,7 @@ error:
|
||||
/**
|
||||
* @conn connection to report errors against
|
||||
* @pool storage pool to build
|
||||
* @flags controls the pool formating behaviour
|
||||
* @flags controls the pool formatting behaviour
|
||||
*
|
||||
* Build a directory or FS based storage pool.
|
||||
*
|
||||
|
@ -188,12 +188,12 @@ umlBuildCommandLineNet(virConnectPtr conn,
|
||||
}
|
||||
if (def->data.ethernet.ipaddr) {
|
||||
umlReportError(VIR_ERR_INTERNAL_ERROR, "%s",
|
||||
_("IP address not supported for ethernet inteface"));
|
||||
_("IP address not supported for ethernet interface"));
|
||||
goto error;
|
||||
}
|
||||
if (def->data.ethernet.script) {
|
||||
umlReportError(VIR_ERR_INTERNAL_ERROR, "%s",
|
||||
_("script execution not supported for ethernet inteface"));
|
||||
_("script execution not supported for ethernet interface"));
|
||||
goto error;
|
||||
}
|
||||
break;
|
||||
|
@ -677,7 +677,7 @@ virLogVersionString(char **msg)
|
||||
* @fmt: the string format
|
||||
* @...: the arguments
|
||||
*
|
||||
* Call the libvirt logger with some informations. Based on the configuration
|
||||
* Call the libvirt logger with some information. Based on the configuration
|
||||
* the message may be stored, sent to output or just discarded
|
||||
*/
|
||||
void virLogMessage(const char *category, int priority, const char *funcname,
|
||||
|
@ -3513,7 +3513,7 @@ virVMXFormatEthernet(virDomainNetDefPtr def, int controller,
|
||||
STRCASENEQ(def->model, "vmxnet3") &&
|
||||
STRCASENEQ(def->model, "e1000")) {
|
||||
VMX_ERROR(VIR_ERR_INTERNAL_ERROR,
|
||||
_("Expecting domain XML entry 'devices/interfase/model' "
|
||||
_("Expecting domain XML entry 'devices/interface/model' "
|
||||
"to be 'vlance' or 'vmxnet' or 'vmxnet2' or 'vmxnet3' "
|
||||
"or 'e1000' but found '%s'"), def->model);
|
||||
return -1;
|
||||
|
@ -2217,7 +2217,7 @@ xenDaemonDomainSetVcpusFlags(virDomainPtr domain, unsigned int vcpus,
|
||||
flags |= VIR_DOMAIN_VCPU_MAXIMUM;
|
||||
if ((max = xenDaemonDomainGetVcpusFlags(domain, flags)) < 0) {
|
||||
virXendError(VIR_ERR_OPERATION_INVALID, "%s",
|
||||
_("could not determin max vcpus for the domain"));
|
||||
_("could not determine max vcpus for the domain"));
|
||||
return -1;
|
||||
}
|
||||
if (vcpus > max) {
|
||||
|
@ -728,7 +728,7 @@ xenXMDomainSetVcpusFlags(virDomainPtr domain, unsigned int vcpus,
|
||||
/* Hypervisor maximum. */
|
||||
if ((max = xenUnifiedGetMaxVcpus(domain->conn, NULL)) < 0) {
|
||||
xenXMError(VIR_ERR_INTERNAL_ERROR, "%s",
|
||||
_("could not determin max vcpus for the domain"));
|
||||
_("could not determine max vcpus for the domain"));
|
||||
goto cleanup;
|
||||
}
|
||||
/* Can't specify a current larger than stored maximum; but
|
||||
|
Loading…
x
Reference in New Issue
Block a user