Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
90e6e0fa
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,发现更多精彩内容 >>
提交
90e6e0fa
编写于
6月 19, 2018
作者:
A
Andrea Bolognani
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
qemu: Add capability for the HPT maxpagesize feature
Signed-off-by:
N
Andrea Bolognani
<
abologna@redhat.com
>
上级
0a527017
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
497 addition
and
91 deletion
+497
-91
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.c
+8
-0
src/qemu/qemu_capabilities.h
src/qemu/qemu_capabilities.h
+1
-0
tests/qemucapabilitiesdata/caps_2.12.0.aarch64.replies
tests/qemucapabilitiesdata/caps_2.12.0.aarch64.replies
+32
-16
tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml
tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml
+1
-1
tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies
tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies
+183
-14
tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml
tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml
+1
-1
tests/qemucapabilitiesdata/caps_2.12.0.s390x.replies
tests/qemucapabilitiesdata/caps_2.12.0.s390x.replies
+34
-18
tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml
tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml
+1
-1
tests/qemucapabilitiesdata/caps_2.12.0.x86_64.replies
tests/qemucapabilitiesdata/caps_2.12.0.x86_64.replies
+40
-24
tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml
+1
-1
tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies
tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies
+193
-14
tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml
tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml
+2
-1
未找到文件。
src/qemu/qemu_capabilities.c
浏览文件 @
90e6e0fa
...
...
@@ -500,6 +500,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
/* 310 */
"sev-guest"
,
"machine.pseries.cap-hpt-max-page-size"
,
);
...
...
@@ -1428,10 +1429,17 @@ static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsMemoryBackendFile[] =
{
"discard-data"
,
QEMU_CAPS_OBJECT_MEMORY_FILE_DISCARD
},
};
static
struct
virQEMUCapsStringFlags
virQEMUCapsObjectPropsSPAPRMachine
[]
=
{
{
"cap-hpt-max-page-size"
,
QEMU_CAPS_MACHINE_PSERIES_CAP_HPT_MAX_PAGE_SIZE
},
};
static
virQEMUCapsObjectTypeProps
virQEMUCapsObjectProps
[]
=
{
{
"memory-backend-file"
,
virQEMUCapsObjectPropsMemoryBackendFile
,
ARRAY_CARDINALITY
(
virQEMUCapsObjectPropsMemoryBackendFile
),
QEMU_CAPS_OBJECT_MEMORY_FILE
},
{
"spapr-machine"
,
virQEMUCapsObjectPropsSPAPRMachine
,
ARRAY_CARDINALITY
(
virQEMUCapsObjectPropsSPAPRMachine
),
-
1
},
};
static
void
...
...
src/qemu/qemu_capabilities.h
浏览文件 @
90e6e0fa
...
...
@@ -484,6 +484,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
/* 310 */
QEMU_CAPS_SEV_GUEST
,
/* -object sev-guest,... */
QEMU_CAPS_MACHINE_PSERIES_CAP_HPT_MAX_PAGE_SIZE
,
/* -machine pseries.cap-hpt-max-page-size */
QEMU_CAPS_LAST
/* this must always be the last item */
}
virQEMUCapsFlags
;
...
...
tests/qemucapabilitiesdata/caps_2.12.0.aarch64.replies
浏览文件 @
90e6e0fa
...
...
@@ -5582,10 +5582,26 @@
}
{
"execute": "query-machines",
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-37"
}
{
"id": "libvirt-37",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-38"
}
{
"return": [
{
...
...
@@ -5880,12 +5896,12 @@
"cpu-max": 1
}
],
"id": "libvirt-3
7
"
"id": "libvirt-3
8
"
}
{
"execute": "query-cpu-definitions",
"id": "libvirt-3
8
"
"id": "libvirt-3
9
"
}
{
...
...
@@ -6061,35 +6077,35 @@
"static": false
}
],
"id": "libvirt-3
8
"
"id": "libvirt-3
9
"
}
{
"execute": "query-tpm-models",
"id": "libvirt-
39
"
"id": "libvirt-
40
"
}
{
"return": [
],
"id": "libvirt-
39
"
"id": "libvirt-
40
"
}
{
"execute": "query-tpm-types",
"id": "libvirt-4
0
"
"id": "libvirt-4
1
"
}
{
"return": [
"emulator"
],
"id": "libvirt-4
0
"
"id": "libvirt-4
1
"
}
{
"execute": "query-command-line-options",
"id": "libvirt-4
1
"
"id": "libvirt-4
2
"
}
{
...
...
@@ -7250,12 +7266,12 @@
"option": "drive"
}
],
"id": "libvirt-4
1
"
"id": "libvirt-4
2
"
}
{
"execute": "query-migrate-capabilities",
"id": "libvirt-4
2
"
"id": "libvirt-4
3
"
}
{
...
...
@@ -7317,12 +7333,12 @@
"capability": "dirty-bitmaps"
}
],
"id": "libvirt-4
2
"
"id": "libvirt-4
3
"
}
{
"execute": "query-qmp-schema",
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
{
...
...
@@ -18690,12 +18706,12 @@
"meta-type": "object"
}
],
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
{
"execute": "query-gic-capabilities",
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
{
...
...
@@ -18711,7 +18727,7 @@
"kernel": false
}
],
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
{
...
...
tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml
浏览文件 @
90e6e0fa
...
...
@@ -171,7 +171,7 @@
<flag
name=
'tpm-emulator'
/>
<version>
2011090
</version>
<kvmVersion>
0
</kvmVersion>
<microcodeVersion>
347
313
</microcodeVersion>
<microcodeVersion>
347
550
</microcodeVersion>
<package>
v2.12.0-rc0
</package>
<arch>
aarch64
</arch>
<cpu
type=
'kvm'
name=
'pxa262'
/>
...
...
tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies
浏览文件 @
90e6e0fa
...
...
@@ -5637,10 +5637,179 @@
}
{
"execute": "query-machines",
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-38"
}
{
"return": [
{
"name": "graphics",
"description": "Set on/off to enable/disable graphics emulation",
"type": "bool"
},
{
"name": "phandle-start",
"description": "The first phandle ID we may generate dynamically",
"type": "int"
},
{
"name": "dump-guest-core",
"description": "Include guest memory in a core dump",
"type": "bool"
},
{
"name": "kernel-irqchip",
"description": "Configure KVM in-kernel irqchip",
"type": "on|off|split"
},
{
"name": "accel",
"description": "Accelerator list",
"type": "string"
},
{
"name": "append",
"description": "Linux kernel command line",
"type": "string"
},
{
"name": "dumpdtb",
"description": "Dump current dtb to a file and quit",
"type": "string"
},
{
"name": "memory-encryption",
"description": "Set memory encyption object to use",
"type": "string"
},
{
"name": "igd-passthru",
"description": "Set on/off to enable/disable igd passthrou",
"type": "bool"
},
{
"name": "dt-compatible",
"description": "Overrides the \"compatible\" property of the dt root node",
"type": "string"
},
{
"name": "kernel",
"description": "Linux kernel image file",
"type": "string"
},
{
"name": "usb",
"description": "Set on/off to enable/disable usb",
"type": "bool"
},
{
"name": "suppress-vmdesc",
"description": "Set on to disable self-describing migration",
"type": "bool"
},
{
"name": "dtb",
"description": "Linux kernel device tree file",
"type": "string"
},
{
"name": "firmware",
"description": "Firmware image",
"type": "string"
},
{
"name": "mem-merge",
"description": "Enable/disable memory merge support",
"type": "bool"
},
{
"name": "initrd",
"description": "Linux initial ramdisk file",
"type": "string"
},
{
"name": "enforce-config-section",
"description": "Set on to enforce configuration section migration",
"type": "bool"
},
{
"name": "kvm-shadow-mem",
"description": "KVM shadow MMU size",
"type": "int"
},
{
"name": "cap-ibs",
"description": "Indirect Branch Speculation (broken, fixed-ibs, fixed-ccd)",
"type": "string"
},
{
"name": "cap-cfpc",
"description": "Cache Flush on Privilege Change (broken, workaround, fixed)",
"type": "string"
},
{
"name": "cap-sbbc",
"description": "Speculation Barrier Bounds Checking (broken, workaround, fixed)",
"type": "string"
},
{
"name": "cap-dfp",
"description": "Allow Decimal Floating Point (DFP)",
"type": "bool"
},
{
"name": "cap-htm",
"description": "Allow Hardware Transactional Memory (HTM)",
"type": "bool"
},
{
"name": "cap-vsx",
"description": "Allow Vector Scalar Extensions (VSX)",
"type": "bool"
},
{
"name": "cap-ibs",
"description": "Indirect Branch Speculation (broken, fixed-ibs, fixed-ccd)",
"type": "string"
},
{
"name": "cap-cfpc",
"description": "Cache Flush on Privilege Change (broken, workaround, fixed)",
"type": "string"
},
{
"name": "cap-sbbc",
"description": "Speculation Barrier Bounds Checking (broken, workaround, fixed)",
"type": "string"
},
{
"name": "cap-dfp",
"description": "Allow Decimal Floating Point (DFP)",
"type": "bool"
},
{
"name": "cap-htm",
"description": "Allow Hardware Transactional Memory (HTM)",
"type": "bool"
},
{
"name": "cap-vsx",
"description": "Allow Vector Scalar Extensions (VSX)",
"type": "bool"
}
],
"id": "libvirt-38"
}
{
"execute": "query-machines",
"id": "libvirt-39"
}
{
"return": [
{
...
...
@@ -5776,12 +5945,12 @@
"cpu-max": 1
}
],
"id": "libvirt-3
8
"
"id": "libvirt-3
9
"
}
{
"execute": "query-cpu-definitions",
"id": "libvirt-
39
"
"id": "libvirt-
40
"
}
{
...
...
@@ -7977,35 +8146,35 @@
"static": false
}
],
"id": "libvirt-
39
"
"id": "libvirt-
40
"
}
{
"execute": "query-tpm-models",
"id": "libvirt-4
0
"
"id": "libvirt-4
1
"
}
{
"return": [
],
"id": "libvirt-4
0
"
"id": "libvirt-4
1
"
}
{
"execute": "query-tpm-types",
"id": "libvirt-4
1
"
"id": "libvirt-4
2
"
}
{
"return": [
"emulator"
],
"id": "libvirt-4
1
"
"id": "libvirt-4
2
"
}
{
"execute": "query-command-line-options",
"id": "libvirt-4
2
"
"id": "libvirt-4
3
"
}
{
...
...
@@ -9161,12 +9330,12 @@
"option": "drive"
}
],
"id": "libvirt-4
2
"
"id": "libvirt-4
3
"
}
{
"execute": "query-migrate-capabilities",
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
{
...
...
@@ -9228,12 +9397,12 @@
"capability": "dirty-bitmaps"
}
],
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
{
"execute": "query-qmp-schema",
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
{
...
...
@@ -20601,7 +20770,7 @@
"meta-type": "object"
}
],
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
{
...
...
tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml
浏览文件 @
90e6e0fa
...
...
@@ -168,7 +168,7 @@
<flag
name=
'tpm-emulator'
/>
<version>
2011090
</version>
<kvmVersion>
0
</kvmVersion>
<microcodeVersion>
42
424
4
</microcodeVersion>
<microcodeVersion>
42
833
4
</microcodeVersion>
<package>
v2.12.0-rc0
</package>
<arch>
ppc64
</arch>
<cpu
type=
'kvm'
name=
'default'
/>
...
...
tests/qemucapabilitiesdata/caps_2.12.0.s390x.replies
浏览文件 @
90e6e0fa
...
...
@@ -3936,10 +3936,26 @@
}
{
"execute": "query-machines",
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-37"
}
{
"id": "libvirt-37",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-38"
}
{
"return": [
{
...
...
@@ -3995,12 +4011,12 @@
"alias": "s390-ccw-virtio"
}
],
"id": "libvirt-3
7
"
"id": "libvirt-3
8
"
}
{
"execute": "query-cpu-definitions",
"id": "libvirt-3
8
"
"id": "libvirt-3
9
"
}
{
...
...
@@ -4535,35 +4551,35 @@
"migration-safe": true
}
],
"id": "libvirt-3
8
"
"id": "libvirt-3
9
"
}
{
"execute": "query-tpm-models",
"id": "libvirt-
39
"
"id": "libvirt-
40
"
}
{
"return": [
],
"id": "libvirt-
39
"
"id": "libvirt-
40
"
}
{
"execute": "query-tpm-types",
"id": "libvirt-4
0
"
"id": "libvirt-4
1
"
}
{
"return": [
"emulator"
],
"id": "libvirt-4
0
"
"id": "libvirt-4
1
"
}
{
"execute": "query-command-line-options",
"id": "libvirt-4
1
"
"id": "libvirt-4
2
"
}
{
...
...
@@ -5688,12 +5704,12 @@
"option": "drive"
}
],
"id": "libvirt-4
1
"
"id": "libvirt-4
2
"
}
{
"execute": "query-migrate-capabilities",
"id": "libvirt-4
2
"
"id": "libvirt-4
3
"
}
{
...
...
@@ -5755,12 +5771,12 @@
"capability": "dirty-bitmaps"
}
],
"id": "libvirt-4
2
"
"id": "libvirt-4
3
"
}
{
"execute": "query-qmp-schema",
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
{
...
...
@@ -17128,7 +17144,7 @@
"meta-type": "object"
}
],
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
{
...
...
@@ -17139,7 +17155,7 @@
"name": "host"
}
},
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
{
...
...
@@ -17177,7 +17193,7 @@
}
}
},
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
{
...
...
@@ -17191,11 +17207,11 @@
}
}
},
"id": "libvirt-4
5
"
"id": "libvirt-4
6
"
}
{
"id": "libvirt-4
5
",
"id": "libvirt-4
6
",
"error": {
"class": "GenericError",
"desc": "Property '.migratable' not found"
...
...
tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml
浏览文件 @
90e6e0fa
...
...
@@ -135,7 +135,7 @@
<flag
name=
'tpm-emulator'
/>
<version>
2012000
</version>
<kvmVersion>
0
</kvmVersion>
<microcodeVersion>
375
762
</microcodeVersion>
<microcodeVersion>
375
999
</microcodeVersion>
<package></package>
<arch>
s390x
</arch>
<hostCPU
type=
'kvm'
model=
'z14-base'
migratability=
'no'
>
...
...
tests/qemucapabilitiesdata/caps_2.12.0.x86_64.replies
浏览文件 @
90e6e0fa
...
...
@@ -4995,10 +4995,26 @@
}
{
"execute": "query-machines",
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-42"
}
{
"id": "libvirt-42",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-43"
}
{
"return": [
{
...
...
@@ -5195,12 +5211,12 @@
"cpu-max": 255
}
],
"id": "libvirt-4
2
"
"id": "libvirt-4
3
"
}
{
"execute": "query-cpu-definitions",
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
{
...
...
@@ -5714,12 +5730,12 @@
"migration-safe": true
}
],
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
{
"execute": "query-tpm-models",
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
{
...
...
@@ -5727,12 +5743,12 @@
"tpm-crb",
"tpm-tis"
],
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
{
"execute": "query-tpm-types",
"id": "libvirt-4
5
"
"id": "libvirt-4
6
"
}
{
...
...
@@ -5740,12 +5756,12 @@
"passthrough",
"emulator"
],
"id": "libvirt-4
5
"
"id": "libvirt-4
6
"
}
{
"execute": "query-command-line-options",
"id": "libvirt-4
6
"
"id": "libvirt-4
7
"
}
{
...
...
@@ -7032,12 +7048,12 @@
"option": "drive"
}
],
"id": "libvirt-4
6
"
"id": "libvirt-4
7
"
}
{
"execute": "query-migrate-capabilities",
"id": "libvirt-4
7
"
"id": "libvirt-4
8
"
}
{
...
...
@@ -7099,12 +7115,12 @@
"capability": "dirty-bitmaps"
}
],
"id": "libvirt-4
7
"
"id": "libvirt-4
8
"
}
{
"execute": "query-qmp-schema",
"id": "libvirt-4
8
"
"id": "libvirt-4
9
"
}
{
...
...
@@ -18472,7 +18488,7 @@
"meta-type": "object"
}
],
"id": "libvirt-4
8
"
"id": "libvirt-4
9
"
}
{
...
...
@@ -18483,7 +18499,7 @@
"name": "host"
}
},
"id": "libvirt-
49
"
"id": "libvirt-
50
"
}
{
...
...
@@ -18673,7 +18689,7 @@
}
}
},
"id": "libvirt-
49
"
"id": "libvirt-
50
"
}
{
...
...
@@ -18865,7 +18881,7 @@
}
}
},
"id": "libvirt-5
0
"
"id": "libvirt-5
1
"
}
{
...
...
@@ -19120,7 +19136,7 @@
}
}
},
"id": "libvirt-5
0
"
"id": "libvirt-5
1
"
}
{
...
...
@@ -19134,7 +19150,7 @@
}
}
},
"id": "libvirt-5
1
"
"id": "libvirt-5
2
"
}
{
...
...
@@ -19324,7 +19340,7 @@
}
}
},
"id": "libvirt-5
1
"
"id": "libvirt-5
2
"
}
{
...
...
@@ -19516,7 +19532,7 @@
}
}
},
"id": "libvirt-5
2
"
"id": "libvirt-5
3
"
}
{
...
...
@@ -19771,12 +19787,12 @@
}
}
},
"id": "libvirt-5
2
"
"id": "libvirt-5
3
"
}
{
"execute": "query-sev-capabilities",
"id": "libvirt-5
3
"
"id": "libvirt-5
4
"
}
{
...
...
@@ -19786,7 +19802,7 @@
"cert-chain": "AQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAA",
"pdh": "AQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAA"
},
"id": "libvirt-5
2
"
"id": "libvirt-5
4
"
}
{
...
...
tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml
浏览文件 @
90e6e0fa
...
...
@@ -213,7 +213,7 @@
<flag
name=
'sev-guest'
/>
<version>
2011090
</version>
<kvmVersion>
0
</kvmVersion>
<microcodeVersion>
41
5959
</microcodeVersion>
<microcodeVersion>
41
6196
</microcodeVersion>
<package>
v2.12.0-rc0
</package>
<arch>
x86_64
</arch>
<hostCPU
type=
'kvm'
model=
'base'
migratability=
'yes'
>
...
...
tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies
浏览文件 @
90e6e0fa
...
...
@@ -5720,10 +5720,189 @@
}
{
"execute": "query-machines",
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-38"
}
{
"return": [
{
"name": "graphics",
"description": "Set on/off to enable/disable graphics emulation",
"type": "bool"
},
{
"name": "phandle-start",
"description": "The first phandle ID we may generate dynamically",
"type": "int"
},
{
"name": "dump-guest-core",
"description": "Include guest memory in a core dump",
"type": "bool"
},
{
"name": "kernel-irqchip",
"description": "Configure KVM in-kernel irqchip",
"type": "on|off|split"
},
{
"name": "accel",
"description": "Accelerator list",
"type": "string"
},
{
"name": "append",
"description": "Linux kernel command line",
"type": "string"
},
{
"name": "dumpdtb",
"description": "Dump current dtb to a file and quit",
"type": "string"
},
{
"name": "memory-encryption",
"description": "Set memory encyption object to use",
"type": "string"
},
{
"name": "igd-passthru",
"description": "Set on/off to enable/disable igd passthrou",
"type": "bool"
},
{
"name": "dt-compatible",
"description": "Overrides the \"compatible\" property of the dt root node",
"type": "string"
},
{
"name": "kernel",
"description": "Linux kernel image file",
"type": "string"
},
{
"name": "usb",
"description": "Set on/off to enable/disable usb",
"type": "bool"
},
{
"name": "suppress-vmdesc",
"description": "Set on to disable self-describing migration",
"type": "bool"
},
{
"name": "dtb",
"description": "Linux kernel device tree file",
"type": "string"
},
{
"name": "firmware",
"description": "Firmware image",
"type": "string"
},
{
"name": "mem-merge",
"description": "Enable/disable memory merge support",
"type": "bool"
},
{
"name": "initrd",
"description": "Linux initial ramdisk file",
"type": "string"
},
{
"name": "enforce-config-section",
"description": "Set on to enforce configuration section migration",
"type": "bool"
},
{
"name": "kvm-shadow-mem",
"description": "KVM shadow MMU size",
"type": "int"
},
{
"name": "cap-hpt-max-page-size",
"description": "Maximum page size for Hash Page Table guests",
"type": "int"
},
{
"name": "cap-ibs",
"description": "Indirect Branch Speculation (broken, fixed-ibs, fixed-ccd)",
"type": "string"
},
{
"name": "cap-cfpc",
"description": "Cache Flush on Privilege Change (broken, workaround, fixed)",
"type": "string"
},
{
"name": "cap-sbbc",
"description": "Speculation Barrier Bounds Checking (broken, workaround, fixed)",
"type": "string"
},
{
"name": "cap-dfp",
"description": "Allow Decimal Floating Point (DFP)",
"type": "bool"
},
{
"name": "cap-htm",
"description": "Allow Hardware Transactional Memory (HTM)",
"type": "bool"
},
{
"name": "cap-vsx",
"description": "Allow Vector Scalar Extensions (VSX)",
"type": "bool"
},
{
"name": "cap-hpt-max-page-size",
"description": "Maximum page size for Hash Page Table guests",
"type": "int"
},
{
"name": "cap-ibs",
"description": "Indirect Branch Speculation (broken, fixed-ibs, fixed-ccd)",
"type": "string"
},
{
"name": "cap-cfpc",
"description": "Cache Flush on Privilege Change (broken, workaround, fixed)",
"type": "string"
},
{
"name": "cap-sbbc",
"description": "Speculation Barrier Bounds Checking (broken, workaround, fixed)",
"type": "string"
},
{
"name": "cap-dfp",
"description": "Allow Decimal Floating Point (DFP)",
"type": "bool"
},
{
"name": "cap-htm",
"description": "Allow Hardware Transactional Memory (HTM)",
"type": "bool"
},
{
"name": "cap-vsx",
"description": "Allow Vector Scalar Extensions (VSX)",
"type": "bool"
}
],
"id": "libvirt-38"
}
{
"execute": "query-machines",
"id": "libvirt-39"
}
{
"return": [
{
...
...
@@ -5864,12 +6043,12 @@
"cpu-max": 1
}
],
"id": "libvirt-3
8
"
"id": "libvirt-3
9
"
}
{
"execute": "query-cpu-definitions",
"id": "libvirt-
39
"
"id": "libvirt-
40
"
}
{
...
...
@@ -8065,35 +8244,35 @@
"static": false
}
],
"id": "libvirt-
39
"
"id": "libvirt-
40
"
}
{
"execute": "query-tpm-models",
"id": "libvirt-4
0
"
"id": "libvirt-4
1
"
}
{
"return": [
],
"id": "libvirt-4
0
"
"id": "libvirt-4
1
"
}
{
"execute": "query-tpm-types",
"id": "libvirt-4
1
"
"id": "libvirt-4
2
"
}
{
"return": [
"emulator"
],
"id": "libvirt-4
1
"
"id": "libvirt-4
2
"
}
{
"execute": "query-command-line-options",
"id": "libvirt-4
2
"
"id": "libvirt-4
3
"
}
{
...
...
@@ -9223,12 +9402,12 @@
"option": "drive"
}
],
"id": "libvirt-4
2
"
"id": "libvirt-4
3
"
}
{
"execute": "query-migrate-capabilities",
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
{
...
...
@@ -9298,12 +9477,12 @@
"capability": "late-block-activate"
}
],
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
{
"execute": "query-qmp-schema",
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
{
...
...
@@ -21462,7 +21641,7 @@
"meta-type": "object"
}
],
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
{
...
...
tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml
浏览文件 @
90e6e0fa
...
...
@@ -165,9 +165,10 @@
<flag
name=
'vhost-vsock'
/>
<flag
name=
'chardev-fd-pass'
/>
<flag
name=
'tpm-emulator'
/>
<flag
name=
'machine.pseries.cap-hpt-max-page-size'
/>
<version>
2012050
</version>
<kvmVersion>
0
</kvmVersion>
<microcodeVersion>
44
2399
</microcodeVersion>
<microcodeVersion>
44
6771
</microcodeVersion>
<package>
v2.12.0-1689-g518d23a
</package>
<arch>
ppc64
</arch>
<cpu
type=
'kvm'
name=
'default'
/>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录