Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
fa67489d
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,体验更适合开发者的 AI 搜索 >>
提交
fa67489d
编写于
3月 25, 2015
作者:
J
Ján Tomko
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
virsh: rename iothreadsinfo to iothreadinfo
The plural seems unnecessary.
上级
a0bbdcd7
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
11 addition
and
11 deletion
+11
-11
tools/virsh-domain.c
tools/virsh-domain.c
+8
-8
tools/virsh.pod
tools/virsh.pod
+3
-3
未找到文件。
tools/virsh-domain.c
浏览文件 @
fa67489d
...
...
@@ -6790,9 +6790,9 @@ cmdSetvcpus(vshControl *ctl, const vshCmd *cmd)
}
/*
* "iothread
s
info" command
* "iothreadinfo" command
*/
static
const
vshCmdInfo
info_iothread
s
[]
=
{
static
const
vshCmdInfo
info_iothread
info
[]
=
{
{.
name
=
"help"
,
.
data
=
N_
(
"view domain IOThreads"
)
},
...
...
@@ -6801,7 +6801,7 @@ static const vshCmdInfo info_iothreads[] = {
},
{.
name
=
NULL
}
};
static
const
vshCmdOptDef
opts_iothread
s
[]
=
{
static
const
vshCmdOptDef
opts_iothread
info
[]
=
{
{.
name
=
"domain"
,
.
type
=
VSH_OT_DATA
,
.
flags
=
VSH_OFLAG_REQ
,
...
...
@@ -6823,7 +6823,7 @@ static const vshCmdOptDef opts_iothreads[] = {
};
static
bool
cmdIOThread
s
Info
(
vshControl
*
ctl
,
const
vshCmd
*
cmd
)
cmdIOThreadInfo
(
vshControl
*
ctl
,
const
vshCmd
*
cmd
)
{
virDomainPtr
dom
;
bool
config
=
vshCommandOptBool
(
cmd
,
"config"
);
...
...
@@ -12891,10 +12891,10 @@ const vshCmdDef domManagementCmds[] = {
.
info
=
info_inject_nmi
,
.
flags
=
0
},
{.
name
=
"iothread
s
info"
,
.
handler
=
cmdIOThread
s
Info
,
.
opts
=
opts_iothread
s
,
.
info
=
info_iothread
s
,
{.
name
=
"iothreadinfo"
,
.
handler
=
cmdIOThreadInfo
,
.
opts
=
opts_iothread
info
,
.
info
=
info_iothread
info
,
.
flags
=
0
},
{.
name
=
"iothreadpin"
,
...
...
tools/virsh.pod
浏览文件 @
fa67489d
...
...
@@ -1378,7 +1378,7 @@ If I<--timeout> is specified, the command gives up waiting for events
after I<seconds> have elapsed. With I<--loop>, the command prints all
events until a timeout or interrupt key.
=item B<iothread
s
info> I<domain> [[I<--live>] [I<--config>] | [I<--current>]]
=item B<iothreadinfo> I<domain> [[I<--live>] [I<--config>] | [I<--current>]]
Display basic domain IOThreads information including the IOThread ID and
the CPU Affinity for each IOThread.
...
...
@@ -1394,9 +1394,9 @@ then get the IOThread data based on the current guest state.
[[I<--live>] [I<--config>] | [I<--current>]]
Change the pinning of a domain IOThread to host physical CPUs. In order
to retrieve a list of all IOThreads, use B<iothread
s
info>. To pin an
to retrieve a list of all IOThreads, use B<iothreadinfo>. To pin an
I<iothread> specify the I<cpulist> desired for the IOThread ID as listed
in the B<iothread
s
info> output.
in the B<iothreadinfo> output.
I<cpulist> is a list of physical CPU numbers. Its syntax is a comma
separated list and a special markup using '-' and '^' (ex. '0-4', '0-3,^2') can
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录