Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
tp-qemu
提交
bbc1fa62
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,发现更多精彩内容 >>
提交
bbc1fa62
编写于
9月 28, 2016
作者:
X
Xueqiang Wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add cfg for qemu.test migration_multi_host_auto_converge
Signed-off-by:
N
Xueqiang Wei
<
xuwei@redhat.com
>
上级
fa0ba242
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
30 addition
and
8 deletion
+30
-8
qemu/tests/cfg/multi_host.cfg
qemu/tests/cfg/multi_host.cfg
+24
-2
qemu/tests/migration_multi_host_with_xbzrle.py
qemu/tests/migration_multi_host_with_xbzrle.py
+6
-6
未找到文件。
qemu/tests/cfg/multi_host.cfg
浏览文件 @
bbc1fa62
...
@@ -211,8 +211,8 @@
...
@@ -211,8 +211,8 @@
kdump_status_cmd = "systemctl status kdump.service"
kdump_status_cmd = "systemctl status kdump.service"
- with_xbzrle:
- with_xbzrle:
type = migration_multi_host_with_xbzrle
type = migration_multi_host_with_xbzrle
capabilitys = "xbzrle
cache_size
"
capabilitys = "xbzrle"
capabilitys_state = "disable
disable
"
capabilitys_state = "disable"
cache_size = "67108864 1073741824"
cache_size = "67108864 1073741824"
max_migration_speed = 1000M
max_migration_speed = 1000M
not_wait_for_migration = yes
not_wait_for_migration = yes
...
@@ -258,6 +258,28 @@
...
@@ -258,6 +258,28 @@
need_stress = yes
need_stress = yes
need_set_speed = no
need_set_speed = no
set_cache_size = yes
set_cache_size = yes
- auto_converge:
only Linux
type = migration_multi_host_auto_converge
stressapptest_repo = "git clone https://github.com/stressapptest/stressapptest.git"
stressapptest_insatll_cmd = "rm -rf stressapptest && ${stressapptest_repo} && cd stressapptest && ./configure && make && make install"
bg_stress_test = "stressapptest -M 100 -s 600 >/dev/null 2>&1 &"
check_running_cmd = "pgrep stressapptest"
kill_bg_stress_cmd = "killall -9 stressapptest"
capabilitys = "auto-converge"
capabilitys_state = "disable"
parameters = "cpu-throttle-initial cpu-throttle-increment"
parameters_value = "30 20"
max_migration_speed = 100M
migration_timeout = 180
not_wait_for_migration = yes
need_set_auto_converge = "no yes"
variants:
- dynamic_cpu_throttling:
sub_type = before_migrate_capability
sub_test = "auto-converge enable"
need_stress = yes
need_set_speed = yes
- host_mig_offline:
- host_mig_offline:
only exec
only exec
host_mig_offline = yes
host_mig_offline = yes
...
...
qemu/tests/migration_multi_host_with_xbzrle.py
浏览文件 @
bbc1fa62
...
@@ -2,7 +2,7 @@ import logging
...
@@ -2,7 +2,7 @@ import logging
from
autotest.client.shared
import
error
from
autotest.client.shared
import
error
from
virttest
import
utils_test
from
virttest
import
utils_test
from
virttest
import
virt_vm
from
virttest
import
virt_vm
from
qemu.tests.MigrationMultiHost
import
MigrationBase
from
virttest.utils_test.qemu
import
migration
@
error
.
context_aware
@
error
.
context_aware
...
@@ -33,15 +33,15 @@ def run(test, params, env):
...
@@ -33,15 +33,15 @@ def run(test, params, env):
"""
"""
mig_protocol
=
params
.
get
(
"mig_protocol"
,
"tcp"
)
mig_protocol
=
params
.
get
(
"mig_protocol"
,
"tcp"
)
mig_type
=
utils_test
.
qemu
.
MultihostMigration
mig_type
=
migration
.
MultihostMigration
if
mig_protocol
==
"fd"
:
if
mig_protocol
==
"fd"
:
mig_type
=
utils_test
.
qemu
.
MultihostMigrationFd
mig_type
=
migration
.
MultihostMigrationFd
if
mig_protocol
==
"exec"
:
if
mig_protocol
==
"exec"
:
mig_type
=
utils_test
.
qemu
.
MultihostMigrationExec
mig_type
=
migration
.
MultihostMigrationExec
if
"rdma"
in
mig_protocol
:
if
"rdma"
in
mig_protocol
:
mig_type
=
utils_test
.
qemu
.
MultihostMigrationRdma
mig_type
=
migration
.
MultihostMigrationRdma
class
TestMultihostMigration
(
mig_type
,
MigrationBase
):
class
TestMultihostMigration
(
mig_type
,
migration
.
MigrationBase
):
"""
"""
multihost migration test
multihost migration test
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录