Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
tp-qemu
提交
b84eb18c
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,发现更多精彩内容 >>
提交
b84eb18c
编写于
11月 22, 2017
作者:
Q
Qianqian Zhu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add data-plane as a matrix for all block jobs
Signed-off-by:
N
Qianqian Zhu
<
qizhu@redhat.com
>
上级
fdd35e9a
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
115 addition
and
18 deletion
+115
-18
qemu/tests/cfg/block_commit.cfg
qemu/tests/cfg/block_commit.cfg
+12
-0
qemu/tests/cfg/block_stream.cfg
qemu/tests/cfg/block_stream.cfg
+12
-9
qemu/tests/cfg/block_stream_negative.cfg
qemu/tests/cfg/block_stream_negative.cfg
+12
-0
qemu/tests/cfg/drive_mirror.cfg
qemu/tests/cfg/drive_mirror.cfg
+12
-0
qemu/tests/cfg/drive_mirror_negative_tests.cfg
qemu/tests/cfg/drive_mirror_negative_tests.cfg
+12
-0
qemu/tests/cfg/live_backup.cfg
qemu/tests/cfg/live_backup.cfg
+12
-9
qemu/tests/cfg/live_snapshot.cfg
qemu/tests/cfg/live_snapshot.cfg
+19
-0
qemu/tests/cfg/live_snapshot_chain.cfg
qemu/tests/cfg/live_snapshot_chain.cfg
+12
-0
qemu/tests/cfg/live_snapshot_negative.cfg
qemu/tests/cfg/live_snapshot_negative.cfg
+12
-0
未找到文件。
qemu/tests/cfg/block_commit.cfg
浏览文件 @
b84eb18c
...
...
@@ -18,6 +18,18 @@
base_image = "images/sn1"
top_image = "images/sn3"
expected_image_file = "images/sn1"
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants:
- with_payload:
type = block_commit_stress
...
...
qemu/tests/cfg/block_stream.cfg
浏览文件 @
b84eb18c
...
...
@@ -21,6 +21,18 @@
kill_vm = yes
alive_check_cmd = dir
tmp_dir = /tmp
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants:
- simple_test:
type = block_stream_simple
...
...
@@ -89,15 +101,6 @@
after_finished = "unload_stress reboot verify_alive"
variants:
- @default:
- data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
iothreads = iothread0
virtio_blk:
blk_extra_params_image1 = "iothread=${iothreads}"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=${iothreads}"
- cancel_async:
wait_finished = no
cancel_timeout_image1 = 3
...
...
qemu/tests/cfg/block_stream_negative.cfg
浏览文件 @
b84eb18c
...
...
@@ -16,6 +16,18 @@
kill_vm = yes
alive_check_cmd = dir
tmp_dir = /tmp
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants:
- simple_test:
type = block_stream_negative
...
...
qemu/tests/cfg/drive_mirror.cfg
浏览文件 @
b84eb18c
...
...
@@ -34,6 +34,18 @@
repeat_times = 3
cancel_timeout = 5
#For drive_mirror_complete, target image will not be boot by default, as boot_target_image=no
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants:
- 2qcow2:
image_format_target = "qcow2"
...
...
qemu/tests/cfg/drive_mirror_negative_tests.cfg
浏览文件 @
b84eb18c
...
...
@@ -32,6 +32,18 @@
repeat_times = 3
cancel_timeout = 5
negative_test = yes
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants:
- 2qcow2:
image_format_target = "qcow2"
...
...
qemu/tests/cfg/live_backup.cfg
浏览文件 @
b84eb18c
...
...
@@ -18,6 +18,18 @@
before_incremental = "stop"
after_incremental = "verify_job_info reopen"
check_params = ""
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants:
- @default:
before_full_backup = "create_files reboot stop"
...
...
@@ -38,12 +50,3 @@
granularity = 32768
- 131072:
granularity = 131072
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
iothreads = iothread0
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
qemu/tests/cfg/live_snapshot.cfg
浏览文件 @
b84eb18c
...
...
@@ -13,6 +13,18 @@
create_cmd = "dd if=/dev/urandom of=%s bs=1M count=1024"
file_create = /var/tmp/file
clean_cmd = rm -f
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants:
- simple_test:
type = live_snapshot_simple
...
...
@@ -104,3 +116,10 @@
force_create_image = yes
force_create_image_image1 = no
after_finished = "reboot verify_alive"
with_data_plane:
virtio_blk:
blk_extra_params_sn1 = "iothread=iothread0"
blk_extra_params_sn2 = "iothread=iothread1"
virtio_scsi:
bus_extra_params_sn1 = "iothread=iothread0"
bus_extra_params_sn2 = "iothread=iothread1"
qemu/tests/cfg/live_snapshot_chain.cfg
浏览文件 @
b84eb18c
...
...
@@ -16,6 +16,18 @@
remove_snapshot_images = yes
pre_command = "sync && echo 3 > /proc/sys/vm/drop_caches"
post_command = "sync && echo 3 > /proc/sys/vm/drop_caches"
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants:
- pause:
file_create =
...
...
qemu/tests/cfg/live_snapshot_negative.cfg
浏览文件 @
b84eb18c
...
...
@@ -11,6 +11,18 @@
create_cmd = "dd if=/dev/urandom of=%s bs=1M count=1024"
file_create = /var/tmp/file
clean_cmd = rm -f
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants:
- simple_test:
type = live_snapshot_negative
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录