Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
3957dd1a
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看板
提交
3957dd1a
编写于
4月 28, 2016
作者:
J
Jiri Denemark
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
domaincapstest: Add tests for QEMU 2.6
Signed-off-by:
N
Jiri Denemark
<
jdenemar@redhat.com
>
上级
3d59cce2
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
341 addition
and
0 deletion
+341
-0
tests/domaincapsschemadata/domaincaps-qemu_2.6.0-1.xml
tests/domaincapsschemadata/domaincaps-qemu_2.6.0-1.xml
+63
-0
tests/domaincapsschemadata/domaincaps-qemu_2.6.0-2.xml
tests/domaincapsschemadata/domaincaps-qemu_2.6.0-2.xml
+63
-0
tests/domaincapsschemadata/domaincaps-qemu_2.6.0-3.xml
tests/domaincapsschemadata/domaincaps-qemu_2.6.0-3.xml
+67
-0
tests/domaincapsschemadata/domaincaps-qemu_2.6.0-4.xml
tests/domaincapsschemadata/domaincaps-qemu_2.6.0-4.xml
+67
-0
tests/domaincapsschemadata/domaincaps-qemu_2.6.0-5.xml
tests/domaincapsschemadata/domaincaps-qemu_2.6.0-5.xml
+61
-0
tests/domaincapstest.c
tests/domaincapstest.c
+20
-0
未找到文件。
tests/domaincapsschemadata/domaincaps-qemu_2.6.0-1.xml
0 → 100644
浏览文件 @
3957dd1a
<domainCapabilities>
<path>
/usr/bin/qemu-system-x86_64
</path>
<domain>
kvm
</domain>
<machine>
pc-i440fx-2.4
</machine>
<arch>
x86_64
</arch>
<vcpu
max=
'255'
/>
<os
supported=
'yes'
>
<loader
supported=
'yes'
>
<value>
/usr/share/AAVMF/AAVMF_CODE.fd
</value>
<value>
/usr/share/OVMF/OVMF_CODE.fd
</value>
<enum
name=
'type'
>
<value>
rom
</value>
<value>
pflash
</value>
</enum>
<enum
name=
'readonly'
>
<value>
yes
</value>
<value>
no
</value>
</enum>
</loader>
</os>
<devices>
<disk
supported=
'yes'
>
<enum
name=
'diskDevice'
>
<value>
disk
</value>
<value>
cdrom
</value>
<value>
floppy
</value>
<value>
lun
</value>
</enum>
<enum
name=
'bus'
>
<value>
ide
</value>
<value>
fdc
</value>
<value>
scsi
</value>
<value>
virtio
</value>
<value>
usb
</value>
</enum>
</disk>
<hostdev
supported=
'yes'
>
<enum
name=
'mode'
>
<value>
subsystem
</value>
</enum>
<enum
name=
'startupPolicy'
>
<value>
default
</value>
<value>
mandatory
</value>
<value>
requisite
</value>
<value>
optional
</value>
</enum>
<enum
name=
'subsysType'
>
<value>
usb
</value>
<value>
pci
</value>
<value>
scsi
</value>
</enum>
<enum
name=
'capsType'
/>
<enum
name=
'pciBackend'
>
<value>
default
</value>
<value>
kvm
</value>
<value>
vfio
</value>
</enum>
</hostdev>
</devices>
<features>
<gic
supported=
'no'
/>
</features>
</domainCapabilities>
tests/domaincapsschemadata/domaincaps-qemu_2.6.0-2.xml
0 → 100644
浏览文件 @
3957dd1a
<domainCapabilities>
<path>
/usr/bin/qemu-system-aarch64
</path>
<domain>
kvm
</domain>
<machine>
integratorcp
</machine>
<arch>
aarch64
</arch>
<vcpu
max=
'1'
/>
<os
supported=
'yes'
>
<loader
supported=
'yes'
>
<value>
/usr/share/AAVMF/AAVMF_CODE.fd
</value>
<value>
/usr/share/OVMF/OVMF_CODE.fd
</value>
<enum
name=
'type'
>
<value>
rom
</value>
<value>
pflash
</value>
</enum>
<enum
name=
'readonly'
>
<value>
yes
</value>
<value>
no
</value>
</enum>
</loader>
</os>
<devices>
<disk
supported=
'yes'
>
<enum
name=
'diskDevice'
>
<value>
disk
</value>
<value>
cdrom
</value>
<value>
floppy
</value>
<value>
lun
</value>
</enum>
<enum
name=
'bus'
>
<value>
ide
</value>
<value>
fdc
</value>
<value>
scsi
</value>
<value>
virtio
</value>
<value>
usb
</value>
</enum>
</disk>
<hostdev
supported=
'yes'
>
<enum
name=
'mode'
>
<value>
subsystem
</value>
</enum>
<enum
name=
'startupPolicy'
>
<value>
default
</value>
<value>
mandatory
</value>
<value>
requisite
</value>
<value>
optional
</value>
</enum>
<enum
name=
'subsysType'
>
<value>
usb
</value>
<value>
pci
</value>
<value>
scsi
</value>
</enum>
<enum
name=
'capsType'
/>
<enum
name=
'pciBackend'
>
<value>
default
</value>
<value>
kvm
</value>
<value>
vfio
</value>
</enum>
</hostdev>
</devices>
<features>
<gic
supported=
'no'
/>
</features>
</domainCapabilities>
tests/domaincapsschemadata/domaincaps-qemu_2.6.0-3.xml
0 → 100644
浏览文件 @
3957dd1a
<domainCapabilities>
<path>
/usr/bin/qemu-system-aarch64
</path>
<domain>
kvm
</domain>
<machine>
virt-2.6
</machine>
<arch>
aarch64
</arch>
<vcpu
max=
'255'
/>
<os
supported=
'yes'
>
<loader
supported=
'yes'
>
<value>
/usr/share/AAVMF/AAVMF_CODE.fd
</value>
<value>
/usr/share/OVMF/OVMF_CODE.fd
</value>
<enum
name=
'type'
>
<value>
rom
</value>
<value>
pflash
</value>
</enum>
<enum
name=
'readonly'
>
<value>
yes
</value>
<value>
no
</value>
</enum>
</loader>
</os>
<devices>
<disk
supported=
'yes'
>
<enum
name=
'diskDevice'
>
<value>
disk
</value>
<value>
cdrom
</value>
<value>
floppy
</value>
<value>
lun
</value>
</enum>
<enum
name=
'bus'
>
<value>
ide
</value>
<value>
fdc
</value>
<value>
scsi
</value>
<value>
virtio
</value>
<value>
usb
</value>
</enum>
</disk>
<hostdev
supported=
'yes'
>
<enum
name=
'mode'
>
<value>
subsystem
</value>
</enum>
<enum
name=
'startupPolicy'
>
<value>
default
</value>
<value>
mandatory
</value>
<value>
requisite
</value>
<value>
optional
</value>
</enum>
<enum
name=
'subsysType'
>
<value>
usb
</value>
<value>
pci
</value>
<value>
scsi
</value>
</enum>
<enum
name=
'capsType'
/>
<enum
name=
'pciBackend'
>
<value>
default
</value>
<value>
kvm
</value>
<value>
vfio
</value>
</enum>
</hostdev>
</devices>
<features>
<gic
supported=
'yes'
>
<enum
name=
'version'
>
<value>
2
</value>
</enum>
</gic>
</features>
</domainCapabilities>
tests/domaincapsschemadata/domaincaps-qemu_2.6.0-4.xml
0 → 100644
浏览文件 @
3957dd1a
<domainCapabilities>
<path>
/usr/bin/qemu-system-aarch64
</path>
<domain>
kvm
</domain>
<machine>
virt-2.6
</machine>
<arch>
aarch64
</arch>
<vcpu
max=
'255'
/>
<os
supported=
'yes'
>
<loader
supported=
'yes'
>
<value>
/usr/share/AAVMF/AAVMF_CODE.fd
</value>
<value>
/usr/share/OVMF/OVMF_CODE.fd
</value>
<enum
name=
'type'
>
<value>
rom
</value>
<value>
pflash
</value>
</enum>
<enum
name=
'readonly'
>
<value>
yes
</value>
<value>
no
</value>
</enum>
</loader>
</os>
<devices>
<disk
supported=
'yes'
>
<enum
name=
'diskDevice'
>
<value>
disk
</value>
<value>
cdrom
</value>
<value>
floppy
</value>
<value>
lun
</value>
</enum>
<enum
name=
'bus'
>
<value>
ide
</value>
<value>
fdc
</value>
<value>
scsi
</value>
<value>
virtio
</value>
<value>
usb
</value>
</enum>
</disk>
<hostdev
supported=
'yes'
>
<enum
name=
'mode'
>
<value>
subsystem
</value>
</enum>
<enum
name=
'startupPolicy'
>
<value>
default
</value>
<value>
mandatory
</value>
<value>
requisite
</value>
<value>
optional
</value>
</enum>
<enum
name=
'subsysType'
>
<value>
usb
</value>
<value>
pci
</value>
<value>
scsi
</value>
</enum>
<enum
name=
'capsType'
/>
<enum
name=
'pciBackend'
>
<value>
default
</value>
<value>
kvm
</value>
<value>
vfio
</value>
</enum>
</hostdev>
</devices>
<features>
<gic
supported=
'yes'
>
<enum
name=
'version'
>
<value>
3
</value>
</enum>
</gic>
</features>
</domainCapabilities>
tests/domaincapsschemadata/domaincaps-qemu_2.6.0-5.xml
0 → 100644
浏览文件 @
3957dd1a
<domainCapabilities>
<path>
/usr/bin/qemu-system-ppc64
</path>
<domain>
kvm
</domain>
<machine>
pseries-2.6
</machine>
<arch>
ppc64le
</arch>
<vcpu
max=
'255'
/>
<os
supported=
'yes'
>
<loader
supported=
'yes'
>
<value>
/usr/share/AAVMF/AAVMF_CODE.fd
</value>
<value>
/usr/share/OVMF/OVMF_CODE.fd
</value>
<enum
name=
'type'
>
<value>
rom
</value>
<value>
pflash
</value>
</enum>
<enum
name=
'readonly'
>
<value>
yes
</value>
<value>
no
</value>
</enum>
</loader>
</os>
<devices>
<disk
supported=
'yes'
>
<enum
name=
'diskDevice'
>
<value>
disk
</value>
<value>
cdrom
</value>
<value>
lun
</value>
</enum>
<enum
name=
'bus'
>
<value>
ide
</value>
<value>
scsi
</value>
<value>
virtio
</value>
<value>
usb
</value>
</enum>
</disk>
<hostdev
supported=
'yes'
>
<enum
name=
'mode'
>
<value>
subsystem
</value>
</enum>
<enum
name=
'startupPolicy'
>
<value>
default
</value>
<value>
mandatory
</value>
<value>
requisite
</value>
<value>
optional
</value>
</enum>
<enum
name=
'subsysType'
>
<value>
usb
</value>
<value>
pci
</value>
<value>
scsi
</value>
</enum>
<enum
name=
'capsType'
/>
<enum
name=
'pciBackend'
>
<value>
default
</value>
<value>
kvm
</value>
<value>
vfio
</value>
</enum>
</hostdev>
</devices>
<features>
<gic
supported=
'no'
/>
</features>
</domainCapabilities>
tests/domaincapstest.c
浏览文件 @
3957dd1a
...
...
@@ -272,6 +272,26 @@ mymain(void)
"/usr/bin/qemu-system-x86_64"
,
NULL
,
VIR_ARCH_X86_64
,
VIR_DOMAIN_VIRT_KVM
);
DO_TEST_QEMU
(
"qemu_2.6.0-1"
,
"caps_2.6.0-1"
,
"/usr/bin/qemu-system-x86_64"
,
NULL
,
VIR_ARCH_X86_64
,
VIR_DOMAIN_VIRT_KVM
);
DO_TEST_QEMU
(
"qemu_2.6.0-2"
,
"caps_2.6.0-1"
,
"/usr/bin/qemu-system-aarch64"
,
NULL
,
VIR_ARCH_AARCH64
,
VIR_DOMAIN_VIRT_KVM
);
DO_TEST_QEMU
(
"qemu_2.6.0-3"
,
"caps_2.6.0-1"
,
"/usr/bin/qemu-system-aarch64"
,
"virt"
,
VIR_ARCH_AARCH64
,
VIR_DOMAIN_VIRT_KVM
);
DO_TEST_QEMU
(
"qemu_2.6.0-4"
,
"caps_2.6.0-2"
,
"/usr/bin/qemu-system-aarch64"
,
"virt"
,
VIR_ARCH_AARCH64
,
VIR_DOMAIN_VIRT_KVM
);
DO_TEST_QEMU
(
"qemu_2.6.0-5"
,
"caps_2.6.0-1"
,
"/usr/bin/qemu-system-ppc64"
,
NULL
,
VIR_ARCH_PPC64LE
,
VIR_DOMAIN_VIRT_KVM
);
#endif
/* WITH_QEMU */
return
ret
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录