Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
tp-qemu
提交
8d32654c
T
tp-qemu
项目概览
openeuler
/
tp-qemu
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
tp-qemu
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8d32654c
编写于
7月 04, 2013
作者:
Y
Yang Feng
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #592 from zhouqt/minor-fix
qemu: Minor fixes for qemu test cases
上级
fe7f83d0
94428d43
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
8 addition
and
4 deletion
+8
-4
qemu/tests/cfg/multi_disk.cfg
qemu/tests/cfg/multi_disk.cfg
+1
-0
tests/boot_savevm.py
tests/boot_savevm.py
+3
-3
tests/cfg/block_hotplug.cfg
tests/cfg/block_hotplug.cfg
+2
-0
tests/cfg/guest_suspend.cfg
tests/cfg/guest_suspend.cfg
+1
-1
tests/cfg/whql.cfg
tests/cfg/whql.cfg
+1
-0
未找到文件。
qemu/tests/cfg/multi_disk.cfg
浏览文件 @
8d32654c
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
cdroms = ""
cdroms = ""
ide:
ide:
# 3 + boot disk = 4 disks
# 3 + boot disk = 4 disks
image_extra_params = ""
stg_image_num = 3
stg_image_num = 3
stg_params = "image_size:1G,10G,5G "
stg_params = "image_size:1G,10G,5G "
stg_params += "image_format:qcow2,qcow2,raw "
stg_params += "image_format:qcow2,qcow2,raw "
...
...
tests/boot_savevm.py
浏览文件 @
8d32654c
...
@@ -34,9 +34,9 @@ def run_boot_savevm(test, params, env):
...
@@ -34,9 +34,9 @@ def run_boot_savevm(test, params, env):
vm
.
create
(
params
=
params
)
vm
.
create
(
params
=
params
)
vm
.
verify_alive
()
# This shouldn't require logging in to guest
vm
.
verify_alive
()
# This shouldn't require logging in to guest
savevm_delay
=
float
(
params
.
get
(
"savevm_delay"
)
)
savevm_delay
=
float
(
params
[
"savevm_delay"
]
)
savevm_login_delay
=
float
(
params
.
get
(
"savevm_login_delay"
)
)
savevm_login_delay
=
float
(
params
[
"savevm_login_delay"
]
)
savevm_login_timeout
=
float
(
params
.
get
(
"savevm_timeout"
)
)
savevm_login_timeout
=
float
(
params
[
"savevm_timeout"
]
)
savevm_statedir
=
params
.
get
(
"savevm_statedir"
,
tempfile
.
gettempdir
())
savevm_statedir
=
params
.
get
(
"savevm_statedir"
,
tempfile
.
gettempdir
())
fd
,
savevm_statefile
=
tempfile
.
mkstemp
(
suffix
=
'.img'
,
prefix
=
vm
.
name
+
'-'
,
fd
,
savevm_statefile
=
tempfile
.
mkstemp
(
suffix
=
'.img'
,
prefix
=
vm
.
name
+
'-'
,
dir
=
savevm_statedir
)
dir
=
savevm_statedir
)
...
...
tests/cfg/block_hotplug.cfg
浏览文件 @
8d32654c
...
@@ -16,10 +16,12 @@
...
@@ -16,10 +16,12 @@
kill_vm_on_error = yes
kill_vm_on_error = yes
variants:
variants:
- fmt_qcow2:
- fmt_qcow2:
image_extra_params = ""
image_format_stg = qcow2
image_format_stg = qcow2
image_format_stg0 = qcow2
image_format_stg0 = qcow2
image_format_stg1 = qcow2
image_format_stg1 = qcow2
- fmt_raw:
- fmt_raw:
image_extra_params = ""
image_format_stg = raw
image_format_stg = raw
image_format_stg0 = raw
image_format_stg0 = raw
image_format_stg1 = raw
image_format_stg1 = raw
...
...
tests/cfg/guest_suspend.cfg
浏览文件 @
8d32654c
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
type = clock_getres
type = clock_getres
sub_test = guest_suspend
sub_test = guest_suspend
- without_kvmclock:
- without_kvmclock:
cpu_model_flags += "
-kvmclock"
cpu_model_flags += "
,
-kvmclock"
variants:
variants:
- guest_s3:
- guest_s3:
guest_suspend_type = "mem"
guest_suspend_type = "mem"
...
...
tests/cfg/whql.cfg
浏览文件 @
8d32654c
...
@@ -203,6 +203,7 @@
...
@@ -203,6 +203,7 @@
- block_device:
- block_device:
image_snapshot = yes
image_snapshot = yes
images += " stg stg2 stg3 stg4"
images += " stg stg2 stg3 stg4"
image_extra_params = ""
image_format_stg = raw
image_format_stg = raw
image_name_stg = images/storage
image_name_stg = images/storage
image_size_stg = 2G
image_size_stg = 2G
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录