提交 ee823374 编写于 作者: P Ping Li

module_probe: fix moudle kvm_intel/kvm_amd cannot be unloaded

Don't start vm for this case.
Signed-off-by: NPing Li <pingl@redhat.com>
上级 e6799557
......@@ -5,6 +5,7 @@
# You can specify your own module list, though it is not needed usually.
# mod_list = kvm
load_count = 100
start_vm = no
vms = ''
profilers = ''
take_regular_screendumps = no
......@@ -12,6 +12,11 @@ def run(test, params, env):
This tests the kernel pre-installed kernel modules
"""
#Destory all vms for unload/load module kvm_intel/kvm_amd
for vm in env.get_all_vms():
if vm:
vm.destroy()
env.unregister_vm(vm.name)
installer_object = base_installer.NoopInstaller('noop',
'module_probe',
test, params)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册