Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
c7b9f206
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,发现更多精彩内容 >>
提交
c7b9f206
编写于
2月 05, 2015
作者:
J
Ján Tomko
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add --migratable support to virsh cpu-baseline
Wire up VIR_CONNECT_BASELINE_CPU_MIGRATABLE to this command line option.
上级
000b21da
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
9 addition
and
2 deletion
+9
-2
tools/virsh-domain.c
tools/virsh-domain.c
+6
-0
tools/virsh.pod
tools/virsh.pod
+3
-2
未找到文件。
tools/virsh-domain.c
浏览文件 @
c7b9f206
...
...
@@ -6913,6 +6913,10 @@ static const vshCmdOptDef opts_cpu_baseline[] = {
.
type
=
VSH_OT_BOOL
,
.
help
=
N_
(
"Show features that are part of the CPU model type"
)
},
{.
name
=
"migratable"
,
.
type
=
VSH_OT_BOOL
,
.
help
=
N_
(
"Do not include features that block migration"
)
},
{.
name
=
NULL
}
};
...
...
@@ -6935,6 +6939,8 @@ cmdCPUBaseline(vshControl *ctl, const vshCmd *cmd)
if
(
vshCommandOptBool
(
cmd
,
"features"
))
flags
|=
VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES
;
if
(
vshCommandOptBool
(
cmd
,
"migratable"
))
flags
|=
VIR_CONNECT_BASELINE_CPU_MIGRATABLE
;
if
(
vshCommandOptStringReq
(
ctl
,
cmd
,
"file"
,
&
from
)
<
0
)
return
false
;
...
...
tools/virsh.pod
浏览文件 @
c7b9f206
...
...
@@ -569,7 +569,7 @@ I<cellno> modifier can be used to narrow the modification down to
a single host NUMA cell. On the other end of spectrum lies
I<--all> which executes the modification on all NUMA cells.
=item B<cpu-baseline> I<FILE> [I<--features>]
=item B<cpu-baseline> I<FILE> [I<--features>]
[I<--migratable>]
Compute baseline CPU which will be supported by all host CPUs given in <file>.
The list of host CPUs is built by extracting all <cpu> elements from the
...
...
@@ -578,7 +578,8 @@ by new lines or even a set of complete <capabilities> elements printed by
B<capabilities> command. If I<--features> is specified then the
resulting XML description will explicitly include all features that make
up the CPU, without this option features that are part of the CPU model
will not be listed in the XML description.
will not be listed in the XML description. If I<--migratable> is specified,
features that block migration will not be included in the resulting CPU.
=item B<cpu-compare> I<FILE> [I<--error>]
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录