Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
tp-qemu
提交
6c185777
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,发现更多精彩内容 >>
提交
6c185777
编写于
9月 15, 2013
作者:
Y
Yang Feng
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #842 from xutian/add_reboot_step
qemu.test: add reboot step for pci_hotplug testing
上级
057a69e9
f9ea0bca
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
5 addition
and
0 deletion
+5
-0
qemu/tests/cfg/pci_hotplug.cfg
qemu/tests/cfg/pci_hotplug.cfg
+1
-0
qemu/tests/pci_hotplug.py
qemu/tests/pci_hotplug.py
+4
-0
未找到文件。
qemu/tests/cfg/pci_hotplug.cfg
浏览文件 @
6c185777
...
...
@@ -20,6 +20,7 @@
only Host_RHEL
no Host_RHEL.5, Host_RHEL.6.0, Host_RHEL.6.1, Host_RHEL.6.2
services_up_timeout = 30
reboot_vm = yes
variants:
- after_plug:
#XXX: pci_hotplug script doesn't support S4 after hotplug.
...
...
qemu/tests/pci_hotplug.py
浏览文件 @
6c185777
...
...
@@ -17,6 +17,7 @@ def run_pci_hotplug(test, params, env):
4) Verify whether pci_model is shown in [pci_find_cmd].
5) Check whether the newly added PCI device works fine.
6) PCI delete the device, verify whether could remove the PCI device.
7) reboot VM after guest wakeup form S3/S4 status (Optional Step).
:param test: QEMU test object.
:param params: Dictionary with the test parameters.
...
...
@@ -313,3 +314,6 @@ def run_pci_hotplug(test, params, env):
error
.
context
(
context_msg
%
(
sub_type
,
"after hotunplug"
),
logging
.
info
)
utils_test
.
run_virt_sub_test
(
test
,
params
,
env
,
sub_type
)
if
params
.
get
(
"reboot_vm"
,
"no"
)
==
"yes"
:
vm
.
reboot
()
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录