Skip to content

Commit

Permalink
Merge pull request #5924 from cliping/fix-domstate
Browse files Browse the repository at this point in the history
virsh_domstate: Update the way to kill qemu-kvm
  • Loading branch information
Yingshun authored Sep 29, 2024
2 parents bc88c45 + 41449e9 commit d08aa7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvirt/tests/src/virsh_cmd/monitor/virsh_domstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def run(test, params, env):
if kill_action == "stop_libvirtd":
libvirtd.stop()
time.sleep(1)
utils_misc.kill_process_by_pattern(vm_name)
process.run('pkill -9 qemu-kvm', ignore_status=True, shell=True)
time.sleep(1)
libvirtd.restart()
elif kill_action == "reboot_vm":
Expand Down

0 comments on commit d08aa7e

Please sign in to comment.