From: Daniel Kahn Gillmor Date: Tue, 10 Apr 2012 03:37:41 +0000 (-0400) Subject: sending a QUIT signal to the container process should send a TERM signal directly... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=2524addb93259ea6490fe2f1ef156d059f327d2a;p=kvm-manager.git sending a QUIT signal to the container process should send a TERM signal directly to the kvm guest --- diff --git a/kvm-manager b/kvm-manager index ca01864..4dcac71 100755 --- a/kvm-manager +++ b/kvm-manager @@ -104,6 +104,7 @@ EOF trap 'kvmsend system_reset; wait %1' HUP trap 'kvmsend system_powerdown; wait %1' TERM trap 'kvmsend cont; wait %1' CONT + trap 'kill -s TERM %1' QUIT # use SIGINT instead of SIGSTOP for freezing the guest because # trapping SIGSTOP is undefined: # http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_28