Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
c3d26542
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,发现更多精彩内容 >>
提交
c3d26542
编写于
9月 18, 2017
作者:
J
Jiri Denemark
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
qemuxml2xmltest: Add tests for Power CPUs
Signed-off-by:
N
Jiri Denemark
<
jdenemar@redhat.com
>
上级
cf4acafe
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
119 addition
and
0 deletion
+119
-0
tests/qemuxml2xmloutdata/qemuxml2xmlout-pseries-cpu-compat-power9.xml
...l2xmloutdata/qemuxml2xmlout-pseries-cpu-compat-power9.xml
+38
-0
tests/qemuxml2xmloutdata/qemuxml2xmlout-pseries-cpu-compat.xml
.../qemuxml2xmloutdata/qemuxml2xmlout-pseries-cpu-compat.xml
+38
-0
tests/qemuxml2xmloutdata/qemuxml2xmlout-pseries-cpu-exact.xml
...s/qemuxml2xmloutdata/qemuxml2xmlout-pseries-cpu-exact.xml
+39
-0
tests/qemuxml2xmltest.c
tests/qemuxml2xmltest.c
+4
-0
未找到文件。
tests/qemuxml2xmloutdata/qemuxml2xmlout-pseries-cpu-compat-power9.xml
0 → 100644
浏览文件 @
c3d26542
<domain
type=
'kvm'
>
<name>
QEMUGuest1
</name>
<uuid>
c7a5fdbd-edaf-9455-926a-d65c16db1809
</uuid>
<memory
unit=
'KiB'
>
219100
</memory>
<currentMemory
unit=
'KiB'
>
219100
</currentMemory>
<vcpu
placement=
'static'
>
4
</vcpu>
<os>
<type
arch=
'ppc64'
machine=
'pseries'
>
hvm
</type>
<boot
dev=
'hd'
/>
</os>
<cpu
mode=
'host-model'
check=
'partial'
>
<model
fallback=
'allow'
>
power9
</model>
</cpu>
<clock
offset=
'utc'
/>
<on_poweroff>
destroy
</on_poweroff>
<on_reboot>
restart
</on_reboot>
<on_crash>
destroy
</on_crash>
<devices>
<emulator>
/usr/bin/qemu-system-ppc64
</emulator>
<controller
type=
'usb'
index=
'0'
>
<address
type=
'pci'
domain=
'0x0000'
bus=
'0x00'
slot=
'0x01'
function=
'0x0'
/>
</controller>
<controller
type=
'pci'
index=
'0'
model=
'pci-root'
>
<model
name=
'spapr-pci-host-bridge'
/>
<target
index=
'0'
/>
</controller>
<serial
type=
'pty'
>
<target
port=
'0'
/>
<address
type=
'spapr-vio'
reg=
'0x30000000'
/>
</serial>
<console
type=
'pty'
>
<target
type=
'serial'
port=
'0'
/>
<address
type=
'spapr-vio'
reg=
'0x30000000'
/>
</console>
<memballoon
model=
'none'
/>
<panic
model=
'pseries'
/>
</devices>
</domain>
tests/qemuxml2xmloutdata/qemuxml2xmlout-pseries-cpu-compat.xml
0 → 100644
浏览文件 @
c3d26542
<domain
type=
'kvm'
>
<name>
QEMUGuest1
</name>
<uuid>
c7a5fdbd-edaf-9455-926a-d65c16db1809
</uuid>
<memory
unit=
'KiB'
>
219100
</memory>
<currentMemory
unit=
'KiB'
>
219100
</currentMemory>
<vcpu
placement=
'static'
>
4
</vcpu>
<os>
<type
arch=
'ppc64'
machine=
'pseries'
>
hvm
</type>
<boot
dev=
'hd'
/>
</os>
<cpu
mode=
'host-model'
check=
'partial'
>
<model
fallback=
'allow'
>
power7
</model>
</cpu>
<clock
offset=
'utc'
/>
<on_poweroff>
destroy
</on_poweroff>
<on_reboot>
restart
</on_reboot>
<on_crash>
destroy
</on_crash>
<devices>
<emulator>
/usr/bin/qemu-system-ppc64
</emulator>
<controller
type=
'usb'
index=
'0'
>
<address
type=
'pci'
domain=
'0x0000'
bus=
'0x00'
slot=
'0x01'
function=
'0x0'
/>
</controller>
<controller
type=
'pci'
index=
'0'
model=
'pci-root'
>
<model
name=
'spapr-pci-host-bridge'
/>
<target
index=
'0'
/>
</controller>
<serial
type=
'pty'
>
<target
port=
'0'
/>
<address
type=
'spapr-vio'
reg=
'0x30000000'
/>
</serial>
<console
type=
'pty'
>
<target
type=
'serial'
port=
'0'
/>
<address
type=
'spapr-vio'
reg=
'0x30000000'
/>
</console>
<memballoon
model=
'none'
/>
<panic
model=
'pseries'
/>
</devices>
</domain>
tests/qemuxml2xmloutdata/qemuxml2xmlout-pseries-cpu-exact.xml
0 → 100644
浏览文件 @
c3d26542
<domain
type=
'qemu'
>
<name>
QEMUGuest1
</name>
<uuid>
1ccfd97d-5eb4-478a-bbe6-88d254c16db7
</uuid>
<memory
unit=
'KiB'
>
524288
</memory>
<currentMemory
unit=
'KiB'
>
524288
</currentMemory>
<vcpu
placement=
'static'
>
1
</vcpu>
<os>
<type
arch=
'ppc64'
machine=
'pseries'
>
hvm
</type>
<boot
dev=
'hd'
/>
</os>
<cpu
mode=
'custom'
match=
'exact'
check=
'none'
>
<model
fallback=
'allow'
>
POWER7
</model>
<vendor>
IBM
</vendor>
</cpu>
<clock
offset=
'utc'
/>
<on_poweroff>
destroy
</on_poweroff>
<on_reboot>
restart
</on_reboot>
<on_crash>
destroy
</on_crash>
<devices>
<emulator>
/usr/bin/qemu-system-ppc64
</emulator>
<controller
type=
'usb'
index=
'0'
>
<address
type=
'pci'
domain=
'0x0000'
bus=
'0x00'
slot=
'0x01'
function=
'0x0'
/>
</controller>
<controller
type=
'pci'
index=
'0'
model=
'pci-root'
>
<model
name=
'spapr-pci-host-bridge'
/>
<target
index=
'0'
/>
</controller>
<serial
type=
'pty'
>
<target
port=
'0'
/>
<address
type=
'spapr-vio'
reg=
'0x30000000'
/>
</serial>
<console
type=
'pty'
>
<target
type=
'serial'
port=
'0'
/>
<address
type=
'spapr-vio'
reg=
'0x30000000'
/>
</console>
<memballoon
model=
'none'
/>
<panic
model=
'pseries'
/>
</devices>
</domain>
tests/qemuxml2xmltest.c
浏览文件 @
c3d26542
...
@@ -1217,6 +1217,10 @@ mymain(void)
...
@@ -1217,6 +1217,10 @@ mymain(void)
DO_TEST
(
"smartcard-passthrough-spicevmc"
,
NONE
);
DO_TEST
(
"smartcard-passthrough-spicevmc"
,
NONE
);
DO_TEST
(
"smartcard-controller"
,
NONE
);
DO_TEST
(
"smartcard-controller"
,
NONE
);
DO_TEST
(
"pseries-cpu-compat-power9"
,
NONE
);
DO_TEST
(
"pseries-cpu-compat"
,
NONE
);
DO_TEST
(
"pseries-cpu-exact"
,
NONE
);
if
(
getenv
(
"LIBVIRT_SKIP_CLEANUP"
)
==
NULL
)
if
(
getenv
(
"LIBVIRT_SKIP_CLEANUP"
)
==
NULL
)
virFileDeleteTree
(
fakerootdir
);
virFileDeleteTree
(
fakerootdir
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录