Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
3621d42e
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3621d42e
编写于
6月 03, 2009
作者:
D
Daniel Veillard
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
* src/openvz_conf.c src/virsh.c: various typo or english fixups
raised by Runa Bhattacharjee daniel
上级
1b28a99d
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
16 addition
and
11 deletion
+16
-11
ChangeLog
ChangeLog
+5
-0
src/openvz_conf.c
src/openvz_conf.c
+7
-7
src/virsh.c
src/virsh.c
+4
-4
未找到文件。
ChangeLog
浏览文件 @
3621d42e
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>
Fix HAL driver restart thread safety
...
...
src/openvz_conf.c
浏览文件 @
3621d42e
...
...
@@ -128,7 +128,7 @@ int openvzExtractVersion(virConnectPtr conn,
if
(
openvzExtractVersionInfo
(
VZCTL
,
&
driver
->
version
)
<
0
)
{
openvzError
(
conn
,
VIR_ERR_INTERNAL_ERROR
,
"%s"
,
_
(
"Cou
n
d not extract vzctl version"
));
"%s"
,
_
(
"Cou
l
d not extract vzctl version"
));
return
-
1
;
}
...
...
@@ -195,7 +195,7 @@ openvzReadNetworkConf(virConnectPtr conn,
ret
=
openvzReadVPSConfigParam
(
veid
,
"IP_ADDRESS"
,
temp
,
sizeof
(
temp
));
if
(
ret
<
0
)
{
openvzError
(
conn
,
VIR_ERR_INTERNAL_ERROR
,
_
(
"Cou
n
d not read 'IP_ADDRESS' from config for container %d"
),
_
(
"Cou
l
d not read 'IP_ADDRESS' from config for container %d"
),
veid
);
goto
error
;
}
else
if
(
ret
>
0
)
{
...
...
@@ -227,7 +227,7 @@ openvzReadNetworkConf(virConnectPtr conn,
ret
=
openvzReadVPSConfigParam
(
veid
,
"NETIF"
,
temp
,
sizeof
(
temp
));
if
(
ret
<
0
)
{
openvzError
(
conn
,
VIR_ERR_INTERNAL_ERROR
,
_
(
"Cou
n
d not read 'NETIF' from config for container %d"
),
_
(
"Cou
l
d not read 'NETIF' from config for container %d"
),
veid
);
goto
error
;
}
else
if
(
ret
>
0
)
{
...
...
@@ -356,7 +356,7 @@ openvzReadFSConf(virConnectPtr conn,
ret
=
openvzReadVPSConfigParam
(
veid
,
"OSTEMPLATE"
,
temp
,
sizeof
(
temp
));
if
(
ret
<
0
)
{
openvzError
(
conn
,
VIR_ERR_INTERNAL_ERROR
,
_
(
"Cou
n
d not read 'OSTEMPLATE' from config for container %d"
),
_
(
"Cou
l
d not read 'OSTEMPLATE' from config for container %d"
),
veid
);
goto
error
;
}
else
if
(
ret
>
0
)
{
...
...
@@ -370,7 +370,7 @@ openvzReadFSConf(virConnectPtr conn,
ret
=
openvzReadVPSConfigParam
(
veid
,
"VE_PRIVATE"
,
temp
,
sizeof
(
temp
));
if
(
ret
<=
0
)
{
openvzError
(
conn
,
VIR_ERR_INTERNAL_ERROR
,
_
(
"Cou
n
d not read 'VE_PRIVATE' from config for container %d"
),
_
(
"Cou
l
d not read 'VE_PRIVATE' from config for container %d"
),
veid
);
goto
error
;
}
...
...
@@ -486,7 +486,7 @@ int openvzLoadDomains(struct openvz_driver *driver) {
ret
=
openvzReadVPSConfigParam
(
veid
,
"CPUS"
,
temp
,
sizeof
(
temp
));
if
(
ret
<
0
)
{
openvzError
(
NULL
,
VIR_ERR_INTERNAL_ERROR
,
_
(
"Cou
n
d not read config for container %d"
),
_
(
"Cou
l
d not read config for container %d"
),
veid
);
goto
cleanup
;
}
else
if
(
ret
>
0
)
{
...
...
@@ -529,7 +529,7 @@ openvzGetNodeCPUs(void)
if
(
virNodeInfoPopulate
(
NULL
,
&
nodeinfo
)
<
0
)
{
openvzError
(
NULL
,
VIR_ERR_INTERNAL_ERROR
,
"%s"
,
_
(
"Cou
n
d not read nodeinfo"
));
"%s"
,
_
(
"Cou
l
d not read nodeinfo"
));
return
0
;
}
...
...
src/virsh.c
浏览文件 @
3621d42e
...
...
@@ -4992,8 +4992,8 @@ cmdNodeDeviceDumpXML (vshControl *ctl, const vshCmd *cmd)
* "nodedev-dettach" command
*/
static
const
vshCmdInfo
info_node_device_dettach
[]
=
{
{
"help"
,
gettext_noop
(
"dettach node device its device driver"
)},
{
"desc"
,
gettext_noop
(
"Dettach node device its device driver before assigning to a domain."
)},
{
"help"
,
gettext_noop
(
"dettach node device
from
its device driver"
)},
{
"desc"
,
gettext_noop
(
"Dettach node device
from
its device driver before assigning to a domain."
)},
{
NULL
,
NULL
}
};
...
...
@@ -5033,8 +5033,8 @@ cmdNodeDeviceDettach (vshControl *ctl, const vshCmd *cmd)
* "nodedev-reattach" command
*/
static
const
vshCmdInfo
info_node_device_reattach
[]
=
{
{
"help"
,
gettext_noop
(
"reattach node device its device driver"
)},
{
"desc"
,
gettext_noop
(
"
Dettach node device its device driver before assigning to a
domain."
)},
{
"help"
,
gettext_noop
(
"reattach node device
to
its device driver"
)},
{
"desc"
,
gettext_noop
(
"
Reattach node device to its device driver once released by the
domain."
)},
{
NULL
,
NULL
}
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录