Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
tp-qemu
提交
fc12a6d4
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,发现更多精彩内容 >>
提交
fc12a6d4
编写于
8月 30, 2016
作者:
D
dinghuiqing
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
migration_with_dst_problem: fix the path of image2
上级
a7f0ebab
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
3 addition
and
2 deletion
+3
-2
qemu/tests/cfg/migrate.cfg
qemu/tests/cfg/migrate.cfg
+0
-1
qemu/tests/migration_with_dst_problem.py
qemu/tests/migration_with_dst_problem.py
+3
-1
未找到文件。
qemu/tests/cfg/migrate.cfg
浏览文件 @
fc12a6d4
...
...
@@ -105,7 +105,6 @@
start_vm_vm1 = no
images_vm1 = "${images} image2"
image_boot_image2_vm1 = no
image_name_image2_vm1 = "test"
force_create_image_image2_vm1 = yes
# Set in test runtime
images_base_dir_image2_vm1 = ""
...
...
qemu/tests/migration_with_dst_problem.py
浏览文件 @
fc12a6d4
...
...
@@ -11,6 +11,7 @@ from autotest.client.shared import utils, error
from
virttest
import
env_process
from
virttest
import
utils_misc
from
virttest
import
qemu_storage
from
virttest
import
data_dir
@
error
.
context_aware
...
...
@@ -50,7 +51,7 @@ def run(test, params, env):
while
mount_path
is
None
or
os
.
path
.
exists
(
mount_path
):
test_rand
=
utils
.
generate_random_string
(
3
)
mount_path
=
(
"%s/ni_mount_%s"
%
(
test
.
tmpdir
,
test_rand
))
(
data_dir
.
get_data_dir
()
,
test_rand
))
mig_dst
=
os
.
path
.
join
(
mount_path
,
"mig_dst"
)
...
...
@@ -452,6 +453,7 @@ def run(test, params, env):
self
.
vm_guest_params
=
params
.
copy
()
self
.
vm_guest_params
[
"images_base_dir_image2_vm1"
]
=
mount_path
self
.
vm_guest_params
[
"image_name_image2_vm1"
]
=
"ni_mount_%s/test"
%
(
test_rand
)
self
.
vm_guest_params
[
"image_size_image2_vm1"
]
=
self
.
disk_size
self
.
vm_guest_params
=
self
.
vm_guest_params
.
object_params
(
"vm1"
)
self
.
image2_vm_guest_params
=
(
self
.
vm_guest_params
.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录