Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
b24eaf62
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,发现更多精彩内容 >>
提交
b24eaf62
编写于
5月 12, 2017
作者:
A
Andrea Bolognani
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tests: Check default GIC version for aarch64/virt TCG guests
Signed-off-by:
N
Andrea Bolognani
<
abologna@redhat.com
>
上级
5290d4fd
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
65 addition
and
0 deletion
+65
-0
tests/qemuxml2argvdata/qemuxml2argv-aarch64-gic-none-tcg.args
...s/qemuxml2argvdata/qemuxml2argv-aarch64-gic-none-tcg.args
+19
-0
tests/qemuxml2argvdata/qemuxml2argv-aarch64-gic-none-tcg.xml
tests/qemuxml2argvdata/qemuxml2argv-aarch64-gic-none-tcg.xml
+17
-0
tests/qemuxml2argvtest.c
tests/qemuxml2argvtest.c
+3
-0
tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-gic-none-tcg.xml
...emuxml2xmloutdata/qemuxml2xmlout-aarch64-gic-none-tcg.xml
+25
-0
tests/qemuxml2xmltest.c
tests/qemuxml2xmltest.c
+1
-0
未找到文件。
tests/qemuxml2argvdata/qemuxml2argv-aarch64-gic-none-tcg.args
0 → 100644
浏览文件 @
b24eaf62
LC_ALL=C \
PATH=/bin \
HOME=/home/test \
USER=test \
LOGNAME=test \
QEMU_AUDIO_DRV=none \
/usr/bin/qemu-system-aarch64 \
-name guest \
-S \
-machine virt,accel=tcg,gic-version=3 \
-cpu cortex-a57 \
-m 1024 \
-smp 1,sockets=1,cores=1,threads=1 \
-uuid 6ba410c5-1e5c-4d57-bee7-2228e7ffa32f \
-nographic \
-nodefaults \
-monitor unix:/tmp/lib/domain--1-guest/monitor.sock,server,nowait \
-no-acpi \
-boot c
tests/qemuxml2argvdata/qemuxml2argv-aarch64-gic-none-tcg.xml
0 → 100644
浏览文件 @
b24eaf62
<domain
type=
'qemu'
>
<name>
guest
</name>
<uuid>
6ba410c5-1e5c-4d57-bee7-2228e7ffa32f
</uuid>
<memory
unit=
'KiB'
>
1048576
</memory>
<vcpu
placement=
'static'
>
1
</vcpu>
<os>
<type
arch=
'aarch64'
machine=
'virt'
>
hvm
</type>
<boot
dev=
'hd'
/>
</os>
<cpu
mode=
'custom'
>
<model>
cortex-a57
</model>
</cpu>
<devices>
<emulator>
/usr/bin/qemu-system-aarch64
</emulator>
<memballoon
model=
'none'
/>
</devices>
</domain>
tests/qemuxml2argvtest.c
浏览文件 @
b24eaf62
...
...
@@ -2251,6 +2251,9 @@ mymain(void)
DO_TEST_GIC
(
"aarch64-gic-none-both"
,
GIC_BOTH
,
QEMU_CAPS_KVM
,
QEMU_CAPS_MACHINE_OPT
,
QEMU_CAPS_MACH_VIRT_GIC_VERSION
);
DO_TEST_GIC
(
"aarch64-gic-none-tcg"
,
GIC_BOTH
,
QEMU_CAPS_MACHINE_OPT
,
QEMU_CAPS_MACH_VIRT_GIC_VERSION
);
DO_TEST_GIC
(
"aarch64-gic-default"
,
GIC_NONE
,
QEMU_CAPS_KVM
,
QEMU_CAPS_MACHINE_OPT
);
DO_TEST_GIC
(
"aarch64-gic-default"
,
GIC_NONE
,
...
...
tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-gic-none-tcg.xml
0 → 100644
浏览文件 @
b24eaf62
<domain
type=
'qemu'
>
<name>
guest
</name>
<uuid>
6ba410c5-1e5c-4d57-bee7-2228e7ffa32f
</uuid>
<memory
unit=
'KiB'
>
1048576
</memory>
<currentMemory
unit=
'KiB'
>
1048576
</currentMemory>
<vcpu
placement=
'static'
>
1
</vcpu>
<os>
<type
arch=
'aarch64'
machine=
'virt'
>
hvm
</type>
<boot
dev=
'hd'
/>
</os>
<features>
<gic
version=
'3'
/>
</features>
<cpu
mode=
'custom'
match=
'exact'
check=
'none'
>
<model
fallback=
'allow'
>
cortex-a57
</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-aarch64
</emulator>
<memballoon
model=
'none'
/>
</devices>
</domain>
tests/qemuxml2xmltest.c
浏览文件 @
b24eaf62
...
...
@@ -1072,6 +1072,7 @@ mymain(void)
DO_TEST_FULL
(
"aarch64-gic-none-v2"
,
WHEN_BOTH
,
GIC_V2
,
NONE
);
DO_TEST_FULL
(
"aarch64-gic-none-v3"
,
WHEN_BOTH
,
GIC_V3
,
NONE
);
DO_TEST_FULL
(
"aarch64-gic-none-both"
,
WHEN_BOTH
,
GIC_BOTH
,
NONE
);
DO_TEST_FULL
(
"aarch64-gic-none-tcg"
,
WHEN_BOTH
,
GIC_BOTH
,
NONE
);
DO_TEST_FULL
(
"aarch64-gic-default"
,
WHEN_BOTH
,
GIC_NONE
,
NONE
);
DO_TEST_FULL
(
"aarch64-gic-default"
,
WHEN_BOTH
,
GIC_V2
,
NONE
);
DO_TEST_FULL
(
"aarch64-gic-default"
,
WHEN_BOTH
,
GIC_V3
,
NONE
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录