Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
58c7620c
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看板
提交
58c7620c
编写于
11月 18, 2016
作者:
J
Jiri Denemark
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tests: Update capabilities for QEMU 1.7.0
Signed-off-by:
N
Jiri Denemark
<
jdenemar@redhat.com
>
上级
c0bf82b6
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
114 addition
and
6 deletion
+114
-6
tests/domaincapsschemadata/qemu_1.7.0.x86_64.xml
tests/domaincapsschemadata/qemu_1.7.0.x86_64.xml
+2
-2
tests/domaincapstest.c
tests/domaincapstest.c
+1
-1
tests/qemucapabilitiesdata/caps_1.7.0.x86_64.replies
tests/qemucapabilitiesdata/caps_1.7.0.x86_64.replies
+86
-2
tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml
tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml
+25
-1
未找到文件。
tests/domaincapsschemadata/qemu_1.7.0.x86_64.xml
浏览文件 @
58c7620c
<domainCapabilities>
<path>
/usr/bin/qemu-system-x86_64
</path>
<domain>
qemu
</domain>
<domain>
kvm
</domain>
<machine>
pc-i440fx-1.7
</machine>
<arch>
x86_64
</arch>
<vcpu
max=
'255'
/>
...
...
@@ -19,7 +19,7 @@
</loader>
</os>
<cpu>
<mode
name=
'host-passthrough'
supported=
'
no
'
/>
<mode
name=
'host-passthrough'
supported=
'
yes
'
/>
<mode
name=
'host-model'
supported=
'yes'
>
<model
fallback=
'allow'
>
Broadwell
</model>
</mode>
...
...
tests/domaincapstest.c
浏览文件 @
58c7620c
...
...
@@ -413,7 +413,7 @@ mymain(void)
DO_TEST_QEMU
(
"1.7.0"
,
"caps_1.7.0"
,
"/usr/bin/qemu-system-x86_64"
,
NULL
,
"x86_64"
,
VIR_DOMAIN_VIRT_
QEMU
);
"x86_64"
,
VIR_DOMAIN_VIRT_
KVM
);
DO_TEST_QEMU
(
"2.6.0"
,
"caps_2.6.0"
,
"/usr/bin/qemu-system-x86_64"
,
NULL
,
...
...
tests/qemucapabilitiesdata/caps_1.7.0.x86_64.replies
浏览文件 @
58c7620c
...
...
@@ -343,7 +343,7 @@
{
"return": {
"fd": 1
1
,
"fd": 1
3
,
"fdset-id": 0
},
"id": "libvirt-5"
...
...
@@ -359,7 +359,7 @@
{
"return": {
"enabled":
fals
e,
"enabled":
tru
e,
"present": true
},
"id": "libvirt-7"
...
...
@@ -3131,3 +3131,87 @@
],
"id": "libvirt-46"
}
{
"return": {
},
"id": "libvirt-1"
}
{
"return": [
{
"name": "Opteron_G5"
},
{
"name": "Opteron_G4"
},
{
"name": "Opteron_G3"
},
{
"name": "Opteron_G2"
},
{
"name": "Opteron_G1"
},
{
"name": "Haswell"
},
{
"name": "SandyBridge"
},
{
"name": "Westmere"
},
{
"name": "Nehalem"
},
{
"name": "Penryn"
},
{
"name": "Conroe"
},
{
"name": "n270"
},
{
"name": "athlon"
},
{
"name": "pentium3"
},
{
"name": "pentium2"
},
{
"name": "pentium"
},
{
"name": "486"
},
{
"name": "coreduo"
},
{
"name": "kvm32"
},
{
"name": "qemu32"
},
{
"name": "kvm64"
},
{
"name": "core2duo"
},
{
"name": "phenom"
},
{
"name": "qemu64"
}
],
"id": "libvirt-2"
}
tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml
浏览文件 @
58c7620c
...
...
@@ -3,10 +3,10 @@
<selfctime>
0
</selfctime>
<selfvers>
0
</selfvers>
<usedQMP/>
<flag
name=
'kvm'
/>
<flag
name=
'mem-path'
/>
<flag
name=
'drive-serial'
/>
<flag
name=
'chardev'
/>
<flag
name=
'enable-kvm'
/>
<flag
name=
'monitor-json'
/>
<flag
name=
'sdl'
/>
<flag
name=
'netdev'
/>
...
...
@@ -151,6 +151,30 @@
<kvmVersion>
0
</kvmVersion>
<package></package>
<arch>
x86_64
</arch>
<cpu
type=
'kvm'
name=
'Opteron_G5'
/>
<cpu
type=
'kvm'
name=
'Opteron_G4'
/>
<cpu
type=
'kvm'
name=
'Opteron_G3'
/>
<cpu
type=
'kvm'
name=
'Opteron_G2'
/>
<cpu
type=
'kvm'
name=
'Opteron_G1'
/>
<cpu
type=
'kvm'
name=
'Haswell'
/>
<cpu
type=
'kvm'
name=
'SandyBridge'
/>
<cpu
type=
'kvm'
name=
'Westmere'
/>
<cpu
type=
'kvm'
name=
'Nehalem'
/>
<cpu
type=
'kvm'
name=
'Penryn'
/>
<cpu
type=
'kvm'
name=
'Conroe'
/>
<cpu
type=
'kvm'
name=
'n270'
/>
<cpu
type=
'kvm'
name=
'athlon'
/>
<cpu
type=
'kvm'
name=
'pentium3'
/>
<cpu
type=
'kvm'
name=
'pentium2'
/>
<cpu
type=
'kvm'
name=
'pentium'
/>
<cpu
type=
'kvm'
name=
'486'
/>
<cpu
type=
'kvm'
name=
'coreduo'
/>
<cpu
type=
'kvm'
name=
'kvm32'
/>
<cpu
type=
'kvm'
name=
'qemu32'
/>
<cpu
type=
'kvm'
name=
'kvm64'
/>
<cpu
type=
'kvm'
name=
'core2duo'
/>
<cpu
type=
'kvm'
name=
'phenom'
/>
<cpu
type=
'kvm'
name=
'qemu64'
/>
<cpu
type=
'tcg'
name=
'Opteron_G5'
/>
<cpu
type=
'tcg'
name=
'Opteron_G4'
/>
<cpu
type=
'tcg'
name=
'Opteron_G3'
/>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录