]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fri Feb 19 16:58:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
authorMark McLoughlin <markmc@redhat.com>
Mon, 19 Feb 2007 16:59:15 +0000 (16:59 +0000)
committerMark McLoughlin <markmc@redhat.com>
Mon, 19 Feb 2007 16:59:15 +0000 (16:59 +0000)
        * qemud/qemud.c: handle SIGQUIT.

ChangeLog
qemud/qemud.c

index b31a44f90d5d166a89d88740b83e38770907f750..205e4bb884f12c9bcb891413328c34867c0d7803 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Feb 19 16:58:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
+
+       * qemud/qemud.c: handle SIGQUIT.
+       
 Mon Feb 19 09:38:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
 
        * qemud/bridge.c, qemud/conf.c: Fixed int -> char casts to deal
index 2e31b441320ea6290587b48d096ddee4ae168821..0408ea65fdd4fdc37b69be32c410682a1d35a31c 100644 (file)
@@ -129,6 +129,7 @@ static int qemudDispatchSignal(struct qemud_server *server)
         break;
 
     case SIGINT:
+    case SIGQUIT:
     case SIGTERM:
         qemudLog(QEMUD_WARN, "Shutting down on signal %d", sigc);
         server->shutdown = 1;
@@ -1610,6 +1611,7 @@ int main(int argc, char **argv) {
 
     sigaction(SIGHUP, &sig_action, NULL);
     sigaction(SIGINT, &sig_action, NULL);
+    sigaction(SIGQUIT, &sig_action, NULL);
     sigaction(SIGTERM, &sig_action, NULL);
     sigaction(SIGCHLD, &sig_action, NULL);