Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
04028a9d
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看板
提交
04028a9d
编写于
5月 03, 2017
作者:
J
Ján Tomko
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
qemu: format intel-iommu,intremap on the command line
https://bugzilla.redhat.com/show_bug.cgi?id=1427005
上级
2020e2c6
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
173 addition
and
44 deletion
+173
-44
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.c
+8
-0
src/qemu/qemu_capabilities.h
src/qemu/qemu_capabilities.h
+1
-0
src/qemu/qemu_command.c
src/qemu/qemu_command.c
+18
-0
tests/qemucapabilitiesdata/caps_2.4.0.x86_64.replies
tests/qemucapabilitiesdata/caps_2.4.0.x86_64.replies
+16
-6
tests/qemucapabilitiesdata/caps_2.5.0.x86_64.replies
tests/qemucapabilitiesdata/caps_2.5.0.x86_64.replies
+17
-7
tests/qemucapabilitiesdata/caps_2.6.0.x86_64.replies
tests/qemucapabilitiesdata/caps_2.6.0.x86_64.replies
+17
-7
tests/qemucapabilitiesdata/caps_2.7.0.x86_64.replies
tests/qemucapabilitiesdata/caps_2.7.0.x86_64.replies
+21
-7
tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml
+1
-0
tests/qemucapabilitiesdata/caps_2.8.0.x86_64.replies
tests/qemucapabilitiesdata/caps_2.8.0.x86_64.replies
+30
-7
tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml
+1
-0
tests/qemucapabilitiesdata/caps_2.9.0.x86_64.replies
tests/qemucapabilitiesdata/caps_2.9.0.x86_64.replies
+40
-9
tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml
+1
-0
tests/qemuxml2argvdata/qemuxml2argv-intel-iommu-ioapic.args
tests/qemuxml2argvdata/qemuxml2argv-intel-iommu-ioapic.args
+1
-1
tests/qemuxml2argvtest.c
tests/qemuxml2argvtest.c
+1
-0
未找到文件。
src/qemu/qemu_capabilities.c
浏览文件 @
04028a9d
...
@@ -369,6 +369,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
...
@@ -369,6 +369,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
"kernel-irqchip"
,
/* 255 */
"kernel-irqchip"
,
/* 255 */
"kernel-irqchip.split"
,
"kernel-irqchip.split"
,
"intel-iommu.intremap"
,
);
);
...
@@ -1723,6 +1724,10 @@ static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsUSBNECXHCI[] = {
...
@@ -1723,6 +1724,10 @@ static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsUSBNECXHCI[] = {
{
"p3"
,
QEMU_CAPS_NEC_USB_XHCI_PORTS
},
{
"p3"
,
QEMU_CAPS_NEC_USB_XHCI_PORTS
},
};
};
static
struct
virQEMUCapsStringFlags
virQEMUCapsObjectPropsIntelIOMMU
[]
=
{
{
"intremap"
,
QEMU_CAPS_INTEL_IOMMU_INTREMAP
},
};
/* see documentation for virQEMUCapsQMPSchemaGetByPath for the query format */
/* see documentation for virQEMUCapsQMPSchemaGetByPath for the query format */
static
struct
virQEMUCapsStringFlags
virQEMUCapsQMPSchemaQueries
[]
=
{
static
struct
virQEMUCapsStringFlags
virQEMUCapsQMPSchemaQueries
[]
=
{
{
"blockdev-add/arg-type/options/+gluster/debug-level"
,
QEMU_CAPS_GLUSTER_DEBUG_LEVEL
},
{
"blockdev-add/arg-type/options/+gluster/debug-level"
,
QEMU_CAPS_GLUSTER_DEBUG_LEVEL
},
...
@@ -1830,6 +1835,9 @@ static struct virQEMUCapsObjectTypeProps virQEMUCapsObjectProps[] = {
...
@@ -1830,6 +1835,9 @@ static struct virQEMUCapsObjectTypeProps virQEMUCapsObjectProps[] = {
{
"nec-usb-xhci"
,
virQEMUCapsObjectPropsUSBNECXHCI
,
{
"nec-usb-xhci"
,
virQEMUCapsObjectPropsUSBNECXHCI
,
ARRAY_CARDINALITY
(
virQEMUCapsObjectPropsUSBNECXHCI
),
ARRAY_CARDINALITY
(
virQEMUCapsObjectPropsUSBNECXHCI
),
-
1
},
-
1
},
{
"intel-iommu"
,
virQEMUCapsObjectPropsIntelIOMMU
,
ARRAY_CARDINALITY
(
virQEMUCapsObjectPropsIntelIOMMU
),
QEMU_CAPS_DEVICE_INTEL_IOMMU
},
};
};
struct
virQEMUCapsPropTypeObjects
{
struct
virQEMUCapsPropTypeObjects
{
...
...
src/qemu/qemu_capabilities.h
浏览文件 @
04028a9d
...
@@ -407,6 +407,7 @@ typedef enum {
...
@@ -407,6 +407,7 @@ typedef enum {
/* 255 */
/* 255 */
QEMU_CAPS_MACHINE_KERNEL_IRQCHIP
,
/* -machine kernel_irqchip */
QEMU_CAPS_MACHINE_KERNEL_IRQCHIP
,
/* -machine kernel_irqchip */
QEMU_CAPS_MACHINE_KERNEL_IRQCHIP_SPLIT
,
/* -machine kernel_irqchip=split */
QEMU_CAPS_MACHINE_KERNEL_IRQCHIP_SPLIT
,
/* -machine kernel_irqchip=split */
QEMU_CAPS_INTEL_IOMMU_INTREMAP
,
/* intel-iommu.intremap */
QEMU_CAPS_LAST
/* this must always be the last item */
QEMU_CAPS_LAST
/* this must always be the last item */
}
virQEMUCapsFlags
;
}
virQEMUCapsFlags
;
...
...
src/qemu/qemu_command.c
浏览文件 @
04028a9d
...
@@ -6685,6 +6685,20 @@ qemuBuildIOMMUCommandLine(virCommandPtr cmd,
...
@@ -6685,6 +6685,20 @@ qemuBuildIOMMUCommandLine(virCommandPtr cmd,
if
(
!
iommu
)
if
(
!
iommu
)
return
0
;
return
0
;
switch
(
iommu
->
model
)
{
case
VIR_DOMAIN_IOMMU_MODEL_INTEL
:
if
(
iommu
->
intremap
!=
VIR_TRISTATE_SWITCH_ABSENT
&&
!
virQEMUCapsGet
(
qemuCaps
,
QEMU_CAPS_INTEL_IOMMU_INTREMAP
))
{
virReportError
(
VIR_ERR_CONFIG_UNSUPPORTED
,
"%s"
,
_
(
"iommu: interrupt remapping is not supported "
"with this QEMU binary"
));
return
-
1
;
}
break
;
case
VIR_DOMAIN_IOMMU_MODEL_LAST
:
break
;
}
if
(
virQEMUCapsGet
(
qemuCaps
,
QEMU_CAPS_MACHINE_IOMMU
))
if
(
virQEMUCapsGet
(
qemuCaps
,
QEMU_CAPS_MACHINE_IOMMU
))
return
0
;
/* Already handled via -machine */
return
0
;
/* Already handled via -machine */
...
@@ -6705,6 +6719,10 @@ qemuBuildIOMMUCommandLine(virCommandPtr cmd,
...
@@ -6705,6 +6719,10 @@ qemuBuildIOMMUCommandLine(virCommandPtr cmd,
return
-
1
;
return
-
1
;
}
}
virBufferAddLit
(
&
opts
,
"intel-iommu"
);
virBufferAddLit
(
&
opts
,
"intel-iommu"
);
if
(
iommu
->
intremap
!=
VIR_TRISTATE_SWITCH_ABSENT
)
{
virBufferAsprintf
(
&
opts
,
",intremap=%s"
,
virTristateSwitchTypeToString
(
iommu
->
intremap
));
}
case
VIR_DOMAIN_IOMMU_MODEL_LAST
:
case
VIR_DOMAIN_IOMMU_MODEL_LAST
:
break
;
break
;
}
}
...
...
tests/qemucapabilitiesdata/caps_2.4.0.x86_64.replies
浏览文件 @
04028a9d
...
@@ -3120,6 +3120,16 @@
...
@@ -3120,6 +3120,16 @@
"id": "libvirt-40"
"id": "libvirt-40"
}
}
{
"return": [
{
"name": "version",
"type": "uint32"
}
],
"id": "libvirt-41"
}
{
{
"return": [
"return": [
{
{
...
@@ -3246,7 +3256,7 @@
...
@@ -3246,7 +3256,7 @@
"cpu-max": 255
"cpu-max": 255
}
}
],
],
"id": "libvirt-4
1
"
"id": "libvirt-4
2
"
}
}
{
{
...
@@ -3336,21 +3346,21 @@
...
@@ -3336,21 +3346,21 @@
"name": "qemu64"
"name": "qemu64"
}
}
],
],
"id": "libvirt-4
2
"
"id": "libvirt-4
3
"
}
}
{
{
"return": [
"return": [
"tpm-tis"
"tpm-tis"
],
],
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
}
{
{
"return": [
"return": [
"passthrough"
"passthrough"
],
],
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
}
{
{
...
@@ -4358,7 +4368,7 @@
...
@@ -4358,7 +4368,7 @@
"option": "drive"
"option": "drive"
}
}
],
],
"id": "libvirt-4
5
"
"id": "libvirt-4
6
"
}
}
{
{
...
@@ -4388,7 +4398,7 @@
...
@@ -4388,7 +4398,7 @@
"capability": "events"
"capability": "events"
}
}
],
],
"id": "libvirt-4
6
"
"id": "libvirt-4
7
"
}
}
{
{
...
...
tests/qemucapabilitiesdata/caps_2.5.0.x86_64.replies
浏览文件 @
04028a9d
...
@@ -3283,6 +3283,16 @@
...
@@ -3283,6 +3283,16 @@
"id": "libvirt-40"
"id": "libvirt-40"
}
}
{
"return": [
{
"name": "version",
"type": "uint32"
}
],
"id": "libvirt-41"
}
{
{
"return": [
"return": [
{
{
...
@@ -3417,7 +3427,7 @@
...
@@ -3417,7 +3427,7 @@
"cpu-max": 255
"cpu-max": 255
}
}
],
],
"id": "libvirt-4
1
"
"id": "libvirt-4
2
"
}
}
{
{
...
@@ -3507,21 +3517,21 @@
...
@@ -3507,21 +3517,21 @@
"name": "qemu64"
"name": "qemu64"
}
}
],
],
"id": "libvirt-4
2
"
"id": "libvirt-4
3
"
}
}
{
{
"return": [
"return": [
"tpm-tis"
"tpm-tis"
],
],
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
}
{
{
"return": [
"return": [
"passthrough"
"passthrough"
],
],
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
}
{
{
...
@@ -4566,7 +4576,7 @@
...
@@ -4566,7 +4576,7 @@
"option": "drive"
"option": "drive"
}
}
],
],
"id": "libvirt-4
5
"
"id": "libvirt-4
6
"
}
}
{
{
...
@@ -4600,7 +4610,7 @@
...
@@ -4600,7 +4610,7 @@
"capability": "x-postcopy-ram"
"capability": "x-postcopy-ram"
}
}
],
],
"id": "libvirt-4
6
"
"id": "libvirt-4
7
"
}
}
{
{
...
@@ -12145,7 +12155,7 @@
...
@@ -12145,7 +12155,7 @@
"meta-type": "array"
"meta-type": "array"
}
}
],
],
"id": "libvirt-4
7
"
"id": "libvirt-4
8
"
}
}
{
{
...
...
tests/qemucapabilitiesdata/caps_2.6.0.x86_64.replies
浏览文件 @
04028a9d
...
@@ -3365,6 +3365,16 @@
...
@@ -3365,6 +3365,16 @@
"id": "libvirt-40"
"id": "libvirt-40"
}
}
{
"return": [
{
"name": "version",
"type": "uint32"
}
],
"id": "libvirt-41"
}
{
{
"return": [
"return": [
{
{
...
@@ -3475,7 +3485,7 @@
...
@@ -3475,7 +3485,7 @@
"cpu-max": 255
"cpu-max": 255
}
}
],
],
"id": "libvirt-4
1
"
"id": "libvirt-4
2
"
}
}
{
{
...
@@ -3565,21 +3575,21 @@
...
@@ -3565,21 +3575,21 @@
"name": "qemu64"
"name": "qemu64"
}
}
],
],
"id": "libvirt-4
2
"
"id": "libvirt-4
3
"
}
}
{
{
"return": [
"return": [
"tpm-tis"
"tpm-tis"
],
],
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
}
{
{
"return": [
"return": [
"passthrough"
"passthrough"
],
],
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
}
{
{
...
@@ -4673,7 +4683,7 @@
...
@@ -4673,7 +4683,7 @@
"option": "drive"
"option": "drive"
}
}
],
],
"id": "libvirt-4
5
"
"id": "libvirt-4
6
"
}
}
{
{
...
@@ -4707,7 +4717,7 @@
...
@@ -4707,7 +4717,7 @@
"capability": "postcopy-ram"
"capability": "postcopy-ram"
}
}
],
],
"id": "libvirt-4
6
"
"id": "libvirt-4
7
"
}
}
{
{
...
@@ -12712,7 +12722,7 @@
...
@@ -12712,7 +12722,7 @@
"meta-type": "array"
"meta-type": "array"
}
}
],
],
"id": "libvirt-4
7
"
"id": "libvirt-4
8
"
}
}
{
{
...
...
tests/qemucapabilitiesdata/caps_2.7.0.x86_64.replies
浏览文件 @
04028a9d
...
@@ -3556,6 +3556,20 @@
...
@@ -3556,6 +3556,20 @@
"id": "libvirt-40"
"id": "libvirt-40"
}
}
{
"return": [
{
"name": "version",
"type": "uint32"
},
{
"name": "intremap",
"type": "bool"
}
],
"id": "libvirt-41"
}
{
{
"return": [
"return": [
{
{
...
@@ -3702,7 +3716,7 @@
...
@@ -3702,7 +3716,7 @@
"cpu-max": 255
"cpu-max": 255
}
}
],
],
"id": "libvirt-4
1
"
"id": "libvirt-4
2
"
}
}
{
{
...
@@ -3795,21 +3809,21 @@
...
@@ -3795,21 +3809,21 @@
"name": "qemu64"
"name": "qemu64"
}
}
],
],
"id": "libvirt-4
2
"
"id": "libvirt-4
3
"
}
}
{
{
"return": [
"return": [
"tpm-tis"
"tpm-tis"
],
],
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
}
{
{
"return": [
"return": [
"passthrough"
"passthrough"
],
],
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
}
{
{
...
@@ -4907,7 +4921,7 @@
...
@@ -4907,7 +4921,7 @@
"option": "drive"
"option": "drive"
}
}
],
],
"id": "libvirt-4
5
"
"id": "libvirt-4
6
"
}
}
{
{
...
@@ -4941,7 +4955,7 @@
...
@@ -4941,7 +4955,7 @@
"capability": "postcopy-ram"
"capability": "postcopy-ram"
}
}
],
],
"id": "libvirt-4
6
"
"id": "libvirt-4
7
"
}
}
{
{
...
@@ -13297,7 +13311,7 @@
...
@@ -13297,7 +13311,7 @@
"meta-type": "object"
"meta-type": "object"
}
}
],
],
"id": "libvirt-4
7
"
"id": "libvirt-4
8
"
}
}
{
{
...
...
tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml
浏览文件 @
04028a9d
...
@@ -204,6 +204,7 @@
...
@@ -204,6 +204,7 @@
<flag
name=
'query-named-block-nodes'
/>
<flag
name=
'query-named-block-nodes'
/>
<flag
name=
'kernel-irqchip'
/>
<flag
name=
'kernel-irqchip'
/>
<flag
name=
'kernel-irqchip.split'
/>
<flag
name=
'kernel-irqchip.split'
/>
<flag
name=
'intel-iommu.intremap'
/>
<version>
2007000
</version>
<version>
2007000
</version>
<kvmVersion>
0
</kvmVersion>
<kvmVersion>
0
</kvmVersion>
<package>
(v2.7.0)
</package>
<package>
(v2.7.0)
</package>
...
...
tests/qemucapabilitiesdata/caps_2.8.0.x86_64.replies
浏览文件 @
04028a9d
...
@@ -3689,6 +3689,29 @@
...
@@ -3689,6 +3689,29 @@
"id": "libvirt-40"
"id": "libvirt-40"
}
}
{
"return": [
{
"name": "eim",
"description": "on/off/auto",
"type": "OnOffAuto"
},
{
"name": "x-buggy-eim",
"type": "bool"
},
{
"name": "intremap",
"type": "bool"
},
{
"name": "version",
"type": "uint32"
}
],
"id": "libvirt-41"
}
{
{
"return": [
"return": [
{
{
...
@@ -3855,7 +3878,7 @@
...
@@ -3855,7 +3878,7 @@
"cpu-max": 255
"cpu-max": 255
}
}
],
],
"id": "libvirt-4
1
"
"id": "libvirt-4
2
"
}
}
{
{
...
@@ -4061,21 +4084,21 @@
...
@@ -4061,21 +4084,21 @@
"static": false
"static": false
}
}
],
],
"id": "libvirt-4
2
"
"id": "libvirt-4
3
"
}
}
{
{
"return": [
"return": [
"tpm-tis"
"tpm-tis"
],
],
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
}
{
{
"return": [
"return": [
"passthrough"
"passthrough"
],
],
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
}
{
{
...
@@ -5198,7 +5221,7 @@
...
@@ -5198,7 +5221,7 @@
"option": "drive"
"option": "drive"
}
}
],
],
"id": "libvirt-4
5
"
"id": "libvirt-4
6
"
}
}
{
{
...
@@ -5236,7 +5259,7 @@
...
@@ -5236,7 +5259,7 @@
"capability": "x-colo"
"capability": "x-colo"
}
}
],
],
"id": "libvirt-4
6
"
"id": "libvirt-4
7
"
}
}
{
{
...
@@ -14006,7 +14029,7 @@
...
@@ -14006,7 +14029,7 @@
"meta-type": "object"
"meta-type": "object"
}
}
],
],
"id": "libvirt-4
7
"
"id": "libvirt-4
8
"
}
}
{
{
...
...
tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml
浏览文件 @
04028a9d
...
@@ -205,6 +205,7 @@
...
@@ -205,6 +205,7 @@
<flag
name=
'query-named-block-nodes'
/>
<flag
name=
'query-named-block-nodes'
/>
<flag
name=
'kernel-irqchip'
/>
<flag
name=
'kernel-irqchip'
/>
<flag
name=
'kernel-irqchip.split'
/>
<flag
name=
'kernel-irqchip.split'
/>
<flag
name=
'intel-iommu.intremap'
/>
<version>
2008000
</version>
<version>
2008000
</version>
<kvmVersion>
0
</kvmVersion>
<kvmVersion>
0
</kvmVersion>
<package>
(v2.8.0)
</package>
<package>
(v2.8.0)
</package>
...
...
tests/qemucapabilitiesdata/caps_2.9.0.x86_64.replies
浏览文件 @
04028a9d
...
@@ -4000,6 +4000,37 @@
...
@@ -4000,6 +4000,37 @@
"id": "libvirt-40"
"id": "libvirt-40"
}
}
{
"return": [
{
"name": "eim",
"description": "on/off/auto",
"type": "OnOffAuto"
},
{
"name": "caching-mode",
"type": "bool"
},
{
"name": "x-buggy-eim",
"type": "bool"
},
{
"name": "intremap",
"type": "bool"
},
{
"name": "version",
"type": "uint32"
},
{
"name": "device-iotlb",
"type": "bool"
}
],
"id": "libvirt-41"
}
{
{
"return": [
"return": [
{
{
...
@@ -4176,7 +4207,7 @@
...
@@ -4176,7 +4207,7 @@
"cpu-max": 255
"cpu-max": 255
}
}
],
],
"id": "libvirt-4
1
"
"id": "libvirt-4
2
"
}
}
{
{
...
@@ -4458,21 +4489,21 @@
...
@@ -4458,21 +4489,21 @@
"migration-safe": true
"migration-safe": true
}
}
],
],
"id": "libvirt-4
2
"
"id": "libvirt-4
3
"
}
}
{
{
"return": [
"return": [
"tpm-tis"
"tpm-tis"
],
],
"id": "libvirt-4
3
"
"id": "libvirt-4
4
"
}
}
{
{
"return": [
"return": [
"passthrough"
"passthrough"
],
],
"id": "libvirt-4
4
"
"id": "libvirt-4
5
"
}
}
{
{
...
@@ -5721,7 +5752,7 @@
...
@@ -5721,7 +5752,7 @@
"option": "drive"
"option": "drive"
}
}
],
],
"id": "libvirt-4
5
"
"id": "libvirt-4
6
"
}
}
{
{
...
@@ -5763,7 +5794,7 @@
...
@@ -5763,7 +5794,7 @@
"capability": "release-ram"
"capability": "release-ram"
}
}
],
],
"id": "libvirt-4
6
"
"id": "libvirt-4
7
"
}
}
{
{
...
@@ -15049,7 +15080,7 @@
...
@@ -15049,7 +15080,7 @@
"meta-type": "object"
"meta-type": "object"
}
}
],
],
"id": "libvirt-4
7
"
"id": "libvirt-4
8
"
}
}
{
{
...
@@ -15228,7 +15259,7 @@
...
@@ -15228,7 +15259,7 @@
}
}
}
}
},
},
"id": "libvirt-4
8
"
"id": "libvirt-4
9
"
}
}
{
{
...
@@ -15469,7 +15500,7 @@
...
@@ -15469,7 +15500,7 @@
}
}
}
}
},
},
"id": "libvirt-
49
"
"id": "libvirt-
50
"
}
}
{
{
...
...
tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml
浏览文件 @
04028a9d
...
@@ -212,6 +212,7 @@
...
@@ -212,6 +212,7 @@
<flag
name=
'qemu-xhci'
/>
<flag
name=
'qemu-xhci'
/>
<flag
name=
'kernel-irqchip'
/>
<flag
name=
'kernel-irqchip'
/>
<flag
name=
'kernel-irqchip.split'
/>
<flag
name=
'kernel-irqchip.split'
/>
<flag
name=
'intel-iommu.intremap'
/>
<version>
2009000
</version>
<version>
2009000
</version>
<kvmVersion>
0
</kvmVersion>
<kvmVersion>
0
</kvmVersion>
<package>
(v2.9.0)
</package>
<package>
(v2.9.0)
</package>
...
...
tests/qemuxml2argvdata/qemuxml2argv-intel-iommu-ioapic.args
浏览文件 @
04028a9d
...
@@ -16,4 +16,4 @@ QEMU_AUDIO_DRV=none \
...
@@ -16,4 +16,4 @@ QEMU_AUDIO_DRV=none \
-monitor unix:/tmp/lib/domain--1-QEMUGuest1/monitor.sock,server,nowait \
-monitor unix:/tmp/lib/domain--1-QEMUGuest1/monitor.sock,server,nowait \
-no-acpi \
-no-acpi \
-boot c \
-boot c \
-device intel-iommu
-device intel-iommu
,intremap=on
tests/qemuxml2argvtest.c
浏览文件 @
04028a9d
...
@@ -2513,6 +2513,7 @@ mymain(void)
...
@@ -2513,6 +2513,7 @@ mymain(void)
QEMU_CAPS_MACHINE_OPT
,
QEMU_CAPS_MACHINE_OPT
,
QEMU_CAPS_MACHINE_KERNEL_IRQCHIP
,
QEMU_CAPS_MACHINE_KERNEL_IRQCHIP
,
QEMU_CAPS_MACHINE_KERNEL_IRQCHIP_SPLIT
,
QEMU_CAPS_MACHINE_KERNEL_IRQCHIP_SPLIT
,
QEMU_CAPS_INTEL_IOMMU_INTREMAP
,
QEMU_CAPS_DEVICE_INTEL_IOMMU
);
QEMU_CAPS_DEVICE_INTEL_IOMMU
);
DO_TEST
(
"cpu-hotplug-startup"
,
QEMU_CAPS_QUERY_HOTPLUGGABLE_CPUS
);
DO_TEST
(
"cpu-hotplug-startup"
,
QEMU_CAPS_QUERY_HOTPLUGGABLE_CPUS
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录