Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
04fce1d4
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 搜索 >>
提交
04fce1d4
编写于
7月 29, 2016
作者:
P
Peter Krempa
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tests: cpu-hotplug: Add data for ppc64 without threads enabled
The reported data is unusual so add it to the test suite.
上级
1c455c47
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
275 addition
and
0 deletion
+275
-0
tests/qemumonitorjsondata/qemumonitorjson-cpuinfo-ppc64-no-threads-cpus.json
...ondata/qemumonitorjson-cpuinfo-ppc64-no-threads-cpus.json
+77
-0
tests/qemumonitorjsondata/qemumonitorjson-cpuinfo-ppc64-no-threads-hotplug.json
...ata/qemumonitorjson-cpuinfo-ppc64-no-threads-hotplug.json
+125
-0
tests/qemumonitorjsondata/qemumonitorjson-cpuinfo-ppc64-no-threads.data
...torjsondata/qemumonitorjson-cpuinfo-ppc64-no-threads.data
+72
-0
tests/qemumonitorjsontest.c
tests/qemumonitorjsontest.c
+1
-0
未找到文件。
tests/qemumonitorjsondata/qemumonitorjson-cpuinfo-ppc64-no-threads-cpus.json
0 → 100644
浏览文件 @
04fce1d4
{
"return"
:
[
{
"arch"
:
"ppc"
,
"current"
:
true
,
"CPU"
:
0
,
"nip"
:
-4611686018426772876
,
"qom_path"
:
"/machine/unattached/device[1]/thread[0]"
,
"halted"
:
false
,
"thread_id"
:
35232
},
{
"arch"
:
"ppc"
,
"current"
:
false
,
"CPU"
:
1
,
"nip"
:
-4611686018426772876
,
"qom_path"
:
"/machine/unattached/device[2]/thread[0]"
,
"halted"
:
false
,
"thread_id"
:
35233
},
{
"arch"
:
"ppc"
,
"current"
:
false
,
"CPU"
:
2
,
"nip"
:
-4611686018426772876
,
"qom_path"
:
"/machine/unattached/device[3]/thread[0]"
,
"halted"
:
false
,
"thread_id"
:
35234
},
{
"arch"
:
"ppc"
,
"current"
:
false
,
"CPU"
:
3
,
"nip"
:
-4611686018426772876
,
"qom_path"
:
"/machine/unattached/device[4]/thread[0]"
,
"halted"
:
false
,
"thread_id"
:
35235
},
{
"arch"
:
"ppc"
,
"current"
:
false
,
"CPU"
:
4
,
"nip"
:
-4611686018426772876
,
"qom_path"
:
"/machine/unattached/device[5]/thread[0]"
,
"halted"
:
false
,
"thread_id"
:
35236
},
{
"arch"
:
"ppc"
,
"current"
:
false
,
"CPU"
:
5
,
"nip"
:
-4611686018426772876
,
"qom_path"
:
"/machine/unattached/device[6]/thread[0]"
,
"halted"
:
false
,
"thread_id"
:
35237
},
{
"arch"
:
"ppc"
,
"current"
:
false
,
"CPU"
:
6
,
"nip"
:
-4611686018426772876
,
"qom_path"
:
"/machine/unattached/device[7]/thread[0]"
,
"halted"
:
false
,
"thread_id"
:
35238
},
{
"arch"
:
"ppc"
,
"current"
:
false
,
"CPU"
:
7
,
"nip"
:
-4611686018426772876
,
"qom_path"
:
"/machine/unattached/device[8]/thread[0]"
,
"halted"
:
false
,
"thread_id"
:
35239
}
],
"id"
:
"libvirt-11"
}
tests/qemumonitorjsondata/qemumonitorjson-cpuinfo-ppc64-no-threads-hotplug.json
0 → 100644
浏览文件 @
04fce1d4
{
"return"
:
[
{
"props"
:
{
"core-id"
:
120
},
"vcpus-count"
:
1
,
"type"
:
"host-spapr-cpu-core"
},
{
"props"
:
{
"core-id"
:
112
},
"vcpus-count"
:
1
,
"type"
:
"host-spapr-cpu-core"
},
{
"props"
:
{
"core-id"
:
104
},
"vcpus-count"
:
1
,
"type"
:
"host-spapr-cpu-core"
},
{
"props"
:
{
"core-id"
:
96
},
"vcpus-count"
:
1
,
"type"
:
"host-spapr-cpu-core"
},
{
"props"
:
{
"core-id"
:
88
},
"vcpus-count"
:
1
,
"type"
:
"host-spapr-cpu-core"
},
{
"props"
:
{
"core-id"
:
80
},
"vcpus-count"
:
1
,
"type"
:
"host-spapr-cpu-core"
},
{
"props"
:
{
"core-id"
:
72
},
"vcpus-count"
:
1
,
"type"
:
"host-spapr-cpu-core"
},
{
"props"
:
{
"core-id"
:
64
},
"vcpus-count"
:
1
,
"type"
:
"host-spapr-cpu-core"
},
{
"props"
:
{
"core-id"
:
56
},
"vcpus-count"
:
1
,
"qom-path"
:
"/machine/unattached/device[8]"
,
"type"
:
"host-spapr-cpu-core"
},
{
"props"
:
{
"core-id"
:
48
},
"vcpus-count"
:
1
,
"qom-path"
:
"/machine/unattached/device[7]"
,
"type"
:
"host-spapr-cpu-core"
},
{
"props"
:
{
"core-id"
:
40
},
"vcpus-count"
:
1
,
"qom-path"
:
"/machine/unattached/device[6]"
,
"type"
:
"host-spapr-cpu-core"
},
{
"props"
:
{
"core-id"
:
32
},
"vcpus-count"
:
1
,
"qom-path"
:
"/machine/unattached/device[5]"
,
"type"
:
"host-spapr-cpu-core"
},
{
"props"
:
{
"core-id"
:
24
},
"vcpus-count"
:
1
,
"qom-path"
:
"/machine/unattached/device[4]"
,
"type"
:
"host-spapr-cpu-core"
},
{
"props"
:
{
"core-id"
:
16
},
"vcpus-count"
:
1
,
"qom-path"
:
"/machine/unattached/device[3]"
,
"type"
:
"host-spapr-cpu-core"
},
{
"props"
:
{
"core-id"
:
8
},
"vcpus-count"
:
1
,
"qom-path"
:
"/machine/unattached/device[2]"
,
"type"
:
"host-spapr-cpu-core"
},
{
"props"
:
{
"core-id"
:
0
},
"vcpus-count"
:
1
,
"qom-path"
:
"/machine/unattached/device[1]"
,
"type"
:
"host-spapr-cpu-core"
}
],
"id"
:
"libvirt-12"
}
tests/qemumonitorjsondata/qemumonitorjson-cpuinfo-ppc64-no-threads.data
0 → 100644
浏览文件 @
04fce1d4
[vcpu libvirt-id='0']
thread-id='35232'
qemu-id='1'
type='host-spapr-cpu-core'
qom_path='/machine/unattached/device[1]'
topology: core='0' vcpus='1'
[vcpu libvirt-id='1']
thread-id='35233'
qemu-id='2'
type='host-spapr-cpu-core'
qom_path='/machine/unattached/device[2]'
topology: core='8' vcpus='1'
[vcpu libvirt-id='2']
thread-id='35234'
qemu-id='3'
type='host-spapr-cpu-core'
qom_path='/machine/unattached/device[3]'
topology: core='16' vcpus='1'
[vcpu libvirt-id='3']
thread-id='35235'
qemu-id='4'
type='host-spapr-cpu-core'
qom_path='/machine/unattached/device[4]'
topology: core='24' vcpus='1'
[vcpu libvirt-id='4']
thread-id='35236'
qemu-id='5'
type='host-spapr-cpu-core'
qom_path='/machine/unattached/device[5]'
topology: core='32' vcpus='1'
[vcpu libvirt-id='5']
thread-id='35237'
qemu-id='6'
type='host-spapr-cpu-core'
qom_path='/machine/unattached/device[6]'
topology: core='40' vcpus='1'
[vcpu libvirt-id='6']
thread-id='35238'
qemu-id='7'
type='host-spapr-cpu-core'
qom_path='/machine/unattached/device[7]'
topology: core='48' vcpus='1'
[vcpu libvirt-id='7']
thread-id='35239'
qemu-id='8'
type='host-spapr-cpu-core'
qom_path='/machine/unattached/device[8]'
topology: core='56' vcpus='1'
[vcpu libvirt-id='8']
type='host-spapr-cpu-core'
topology: core='64' vcpus='1'
[vcpu libvirt-id='9']
type='host-spapr-cpu-core'
topology: core='72' vcpus='1'
[vcpu libvirt-id='10']
type='host-spapr-cpu-core'
topology: core='80' vcpus='1'
[vcpu libvirt-id='11']
type='host-spapr-cpu-core'
topology: core='88' vcpus='1'
[vcpu libvirt-id='12']
type='host-spapr-cpu-core'
topology: core='96' vcpus='1'
[vcpu libvirt-id='13']
type='host-spapr-cpu-core'
topology: core='104' vcpus='1'
[vcpu libvirt-id='14']
type='host-spapr-cpu-core'
topology: core='112' vcpus='1'
[vcpu libvirt-id='15']
type='host-spapr-cpu-core'
topology: core='120' vcpus='1'
tests/qemumonitorjsontest.c
浏览文件 @
04fce1d4
...
...
@@ -2591,6 +2591,7 @@ mymain(void)
DO_TEST_CPU_INFO
(
"ppc64-hotplug-1"
,
24
);
DO_TEST_CPU_INFO
(
"ppc64-hotplug-2"
,
24
);
DO_TEST_CPU_INFO
(
"ppc64-hotplug-4"
,
24
);
DO_TEST_CPU_INFO
(
"ppc64-no-threads"
,
16
);
qemuTestDriverFree
(
&
driver
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录