Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
2e783519
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,发现更多精彩内容 >>
提交
2e783519
编写于
2月 07, 2013
作者:
M
Michal Privoznik
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
virsh-domain-monitor.c: Switch to c99 initialization of vshCmdInfo
上级
6792676a
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
78 addition
and
34 deletion
+78
-34
tools/virsh-domain-monitor.c
tools/virsh-domain-monitor.c
+78
-34
未找到文件。
tools/virsh-domain-monitor.c
浏览文件 @
2e783519
...
...
@@ -290,9 +290,13 @@ vshDomainStateReasonToString(int state, int reason)
* "dommemstat" command
*/
static
const
vshCmdInfo
info_dommemstat
[]
=
{
{
"help"
,
N_
(
"get memory statistics for a domain"
)},
{
"desc"
,
N_
(
"Get memory statistics for a running domain."
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"get memory statistics for a domain"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Get memory statistics for a running domain."
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_dommemstat
[]
=
{
...
...
@@ -349,9 +353,13 @@ cmdDomMemStat(vshControl *ctl, const vshCmd *cmd)
* "domblkinfo" command
*/
static
const
vshCmdInfo
info_domblkinfo
[]
=
{
{
"help"
,
N_
(
"domain block device size information"
)},
{
"desc"
,
N_
(
"Get block device size info for a domain."
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"domain block device size information"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Get block device size info for a domain."
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_domblkinfo
[]
=
{
...
...
@@ -400,9 +408,13 @@ cleanup:
* "domblklist" command
*/
static
const
vshCmdInfo
info_domblklist
[]
=
{
{
"help"
,
N_
(
"list all domain blocks"
)},
{
"desc"
,
N_
(
"Get the summary of block devices for a domain."
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"list all domain blocks"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Get the summary of block devices for a domain."
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_domblklist
[]
=
{
...
...
@@ -618,9 +630,13 @@ cleanup:
* "domif-getlink" command
*/
static
const
vshCmdInfo
info_domif_getlink
[]
=
{
{
"help"
,
N_
(
"get link state of a virtual interface"
)},
{
"desc"
,
N_
(
"Get link state of a domain's virtual interface."
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"get link state of a virtual interface"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Get link state of a domain's virtual interface."
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_domif_getlink
[]
=
{
...
...
@@ -757,9 +773,13 @@ cleanup:
* "domcontrol" command
*/
static
const
vshCmdInfo
info_domcontrol
[]
=
{
{
"help"
,
N_
(
"domain control interface state"
)},
{
"desc"
,
N_
(
"Returns state of a control interface to the domain."
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"domain control interface state"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Returns state of a control interface to the domain."
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_domcontrol
[]
=
{
...
...
@@ -805,10 +825,14 @@ cleanup:
* "domblkstat" command
*/
static
const
vshCmdInfo
info_domblkstat
[]
=
{
{
"help"
,
N_
(
"get device block stats for a domain"
)},
{
"desc"
,
N_
(
"Get device block stats for a running domain. See man page or "
"use --human for explanation of fields"
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"get device block stats for a domain"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Get device block stats for a running domain. See man page or "
"use --human for explanation of fields"
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_domblkstat
[]
=
{
...
...
@@ -986,9 +1010,13 @@ cleanup:
* "domifstat" command
*/
static
const
vshCmdInfo
info_domifstat
[]
=
{
{
"help"
,
N_
(
"get network interface stats for a domain"
)},
{
"desc"
,
N_
(
"Get network interface stats for a running domain."
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"get network interface stats for a domain"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Get network interface stats for a running domain."
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_domifstat
[]
=
{
...
...
@@ -1059,9 +1087,13 @@ cleanup:
* "domblkerror" command
*/
static
const
vshCmdInfo
info_domblkerror
[]
=
{
{
"help"
,
N_
(
"Show errors on block devices"
)},
{
"desc"
,
N_
(
"Show block device errors"
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"Show errors on block devices"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Show block device errors"
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_domblkerror
[]
=
{
...
...
@@ -1120,9 +1152,13 @@ cleanup:
* "dominfo" command
*/
static
const
vshCmdInfo
info_dominfo
[]
=
{
{
"help"
,
N_
(
"domain information"
)},
{
"desc"
,
N_
(
"Returns basic information about the domain."
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"domain information"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Returns basic information about the domain."
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_dominfo
[]
=
{
...
...
@@ -1258,9 +1294,13 @@ cmdDominfo(vshControl *ctl, const vshCmd *cmd)
* "domstate" command
*/
static
const
vshCmdInfo
info_domstate
[]
=
{
{
"help"
,
N_
(
"domain state"
)},
{
"desc"
,
N_
(
"Returns state about a domain."
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"domain state"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Returns state about a domain."
)
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_domstate
[]
=
{
...
...
@@ -1311,9 +1351,13 @@ cleanup:
* "list" command
*/
static
const
vshCmdInfo
info_list
[]
=
{
{
"help"
,
N_
(
"list domains"
)},
{
"desc"
,
N_
(
"Returns list of domains."
)},
{
NULL
,
NULL
}
{.
name
=
"help"
,
.
data
=
N_
(
"list domains"
)
},
{.
name
=
"desc"
,
.
data
=
N_
(
"Returns list of domains."
)
},
{.
name
=
NULL
}
};
/* compare domains, pack NULLed ones at the end*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录