Skip to content

Commit

Permalink
detect if qemu was killed to mark this as badhost event
Browse files Browse the repository at this point in the history
  • Loading branch information
bugfinder committed Apr 25, 2018
1 parent c269d06 commit 293b869
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build-vm-kvm
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ vm_startup_kvm() {
export QEMU_AUDIO_DRV=none # we do not want to have sound inside the VMs
echo "$@"
"$@"
qemu_ret=$?
test "$qemu_ret" = "137" && cleanup_and_exit 3 "qemu got SIGKILL"
}

vm_kill_kvm() {
Expand Down

0 comments on commit 293b869

Please sign in to comment.