Unverified Commit 871b5518 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Allow for gracefull shutdows

parent f4a3778f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ ARGS="-m ${RAM_SIZE} -smp ${CPU_CORES} -machine type=q35${KVM_ACC_OPTS} ${EXTRA_

set -m
(
  for _SIGNAL in {1..64}; do trap "echo Caught trap ${_SIGNAL} for the QEMU process" "${_SIGNAL}"; done
  for _SIGNAL in {1..64}; do trap 'echo Caught trap ${_SIGNAL} for the QEMU process' "${_SIGNAL}"; done
  qemu-system-x86_64 ${ARGS} & echo $! > ${_QEMU_PID}
)
set +m