]> gitweb.fluxo.info Git - kvm-manager.git/commitdiff
sending a QUIT signal to the container process should send a TERM signal directly...
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 10 Apr 2012 03:37:41 +0000 (23:37 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 10 Apr 2012 03:37:41 +0000 (23:37 -0400)
kvm-manager

index ca01864d1a6026a0a06685af90b1ca12ead7fc77..4dcac71b98b11346b0dc57cca0838f4e7d2c783f 100755 (executable)
@@ -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