mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Trap handler
This commit is contained in:
parent
240a8e5e1d
commit
ed1fb9d9c5
@ -50,9 +50,6 @@ ARGS="-m ${RAM_SIZE} -smp ${CPU_CORES} ${KVM_ACC_OPTS} ${EXTRA_OPTS} ${KVM_MON_O
|
||||
|
||||
set -m
|
||||
(
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user