mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-22 05:59:18 +00:00
* src/openvz_conf.c src/virsh.c: various typo or english fixups
raised by Runa Bhattacharjee daniel
This commit is contained in:
parent
1b28a99d14
commit
3621d42e0f
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jun 3 14:12:47 CEST 2009 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
|
* src/openvz_conf.c src/virsh.c: various typo or english fixups
|
||||||
|
raised by Runa Bhattacharjee
|
||||||
|
|
||||||
Wed Jun 3 12:19:52 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
Wed Jun 3 12:19:52 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
Fix HAL driver restart thread safety
|
Fix HAL driver restart thread safety
|
||||||
|
@ -128,7 +128,7 @@ int openvzExtractVersion(virConnectPtr conn,
|
|||||||
|
|
||||||
if (openvzExtractVersionInfo(VZCTL, &driver->version) < 0) {
|
if (openvzExtractVersionInfo(VZCTL, &driver->version) < 0) {
|
||||||
openvzError(conn, VIR_ERR_INTERNAL_ERROR,
|
openvzError(conn, VIR_ERR_INTERNAL_ERROR,
|
||||||
"%s", _("Cound not extract vzctl version"));
|
"%s", _("Could not extract vzctl version"));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -195,7 +195,7 @@ openvzReadNetworkConf(virConnectPtr conn,
|
|||||||
ret = openvzReadVPSConfigParam(veid, "IP_ADDRESS", temp, sizeof(temp));
|
ret = openvzReadVPSConfigParam(veid, "IP_ADDRESS", temp, sizeof(temp));
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
openvzError(conn, VIR_ERR_INTERNAL_ERROR,
|
openvzError(conn, VIR_ERR_INTERNAL_ERROR,
|
||||||
_("Cound not read 'IP_ADDRESS' from config for container %d"),
|
_("Could not read 'IP_ADDRESS' from config for container %d"),
|
||||||
veid);
|
veid);
|
||||||
goto error;
|
goto error;
|
||||||
} else if (ret > 0) {
|
} else if (ret > 0) {
|
||||||
@ -227,7 +227,7 @@ openvzReadNetworkConf(virConnectPtr conn,
|
|||||||
ret = openvzReadVPSConfigParam(veid, "NETIF", temp, sizeof(temp));
|
ret = openvzReadVPSConfigParam(veid, "NETIF", temp, sizeof(temp));
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
openvzError(conn, VIR_ERR_INTERNAL_ERROR,
|
openvzError(conn, VIR_ERR_INTERNAL_ERROR,
|
||||||
_("Cound not read 'NETIF' from config for container %d"),
|
_("Could not read 'NETIF' from config for container %d"),
|
||||||
veid);
|
veid);
|
||||||
goto error;
|
goto error;
|
||||||
} else if (ret > 0) {
|
} else if (ret > 0) {
|
||||||
@ -356,7 +356,7 @@ openvzReadFSConf(virConnectPtr conn,
|
|||||||
ret = openvzReadVPSConfigParam(veid, "OSTEMPLATE", temp, sizeof(temp));
|
ret = openvzReadVPSConfigParam(veid, "OSTEMPLATE", temp, sizeof(temp));
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
openvzError(conn, VIR_ERR_INTERNAL_ERROR,
|
openvzError(conn, VIR_ERR_INTERNAL_ERROR,
|
||||||
_("Cound not read 'OSTEMPLATE' from config for container %d"),
|
_("Could not read 'OSTEMPLATE' from config for container %d"),
|
||||||
veid);
|
veid);
|
||||||
goto error;
|
goto error;
|
||||||
} else if (ret > 0) {
|
} else if (ret > 0) {
|
||||||
@ -370,7 +370,7 @@ openvzReadFSConf(virConnectPtr conn,
|
|||||||
ret = openvzReadVPSConfigParam(veid, "VE_PRIVATE", temp, sizeof(temp));
|
ret = openvzReadVPSConfigParam(veid, "VE_PRIVATE", temp, sizeof(temp));
|
||||||
if (ret <= 0) {
|
if (ret <= 0) {
|
||||||
openvzError(conn, VIR_ERR_INTERNAL_ERROR,
|
openvzError(conn, VIR_ERR_INTERNAL_ERROR,
|
||||||
_("Cound not read 'VE_PRIVATE' from config for container %d"),
|
_("Could not read 'VE_PRIVATE' from config for container %d"),
|
||||||
veid);
|
veid);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
@ -486,7 +486,7 @@ int openvzLoadDomains(struct openvz_driver *driver) {
|
|||||||
ret = openvzReadVPSConfigParam(veid, "CPUS", temp, sizeof(temp));
|
ret = openvzReadVPSConfigParam(veid, "CPUS", temp, sizeof(temp));
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
openvzError(NULL, VIR_ERR_INTERNAL_ERROR,
|
openvzError(NULL, VIR_ERR_INTERNAL_ERROR,
|
||||||
_("Cound not read config for container %d"),
|
_("Could not read config for container %d"),
|
||||||
veid);
|
veid);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
} else if (ret > 0) {
|
} else if (ret > 0) {
|
||||||
@ -529,7 +529,7 @@ openvzGetNodeCPUs(void)
|
|||||||
|
|
||||||
if (virNodeInfoPopulate(NULL, &nodeinfo) < 0) {
|
if (virNodeInfoPopulate(NULL, &nodeinfo) < 0) {
|
||||||
openvzError(NULL, VIR_ERR_INTERNAL_ERROR,
|
openvzError(NULL, VIR_ERR_INTERNAL_ERROR,
|
||||||
"%s", _("Cound not read nodeinfo"));
|
"%s", _("Could not read nodeinfo"));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4992,8 +4992,8 @@ cmdNodeDeviceDumpXML (vshControl *ctl, const vshCmd *cmd)
|
|||||||
* "nodedev-dettach" command
|
* "nodedev-dettach" command
|
||||||
*/
|
*/
|
||||||
static const vshCmdInfo info_node_device_dettach[] = {
|
static const vshCmdInfo info_node_device_dettach[] = {
|
||||||
{"help", gettext_noop("dettach node device its device driver")},
|
{"help", gettext_noop("dettach node device from its device driver")},
|
||||||
{"desc", gettext_noop("Dettach node device its device driver before assigning to a domain.")},
|
{"desc", gettext_noop("Dettach node device from its device driver before assigning to a domain.")},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -5033,8 +5033,8 @@ cmdNodeDeviceDettach (vshControl *ctl, const vshCmd *cmd)
|
|||||||
* "nodedev-reattach" command
|
* "nodedev-reattach" command
|
||||||
*/
|
*/
|
||||||
static const vshCmdInfo info_node_device_reattach[] = {
|
static const vshCmdInfo info_node_device_reattach[] = {
|
||||||
{"help", gettext_noop("reattach node device its device driver")},
|
{"help", gettext_noop("reattach node device to its device driver")},
|
||||||
{"desc", gettext_noop("Dettach node device its device driver before assigning to a domain.")},
|
{"desc", gettext_noop("Reattach node device to its device driver once released by the domain.")},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user