]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm tools: Don't exit() on SIGQUIT
authorPekka Enberg <penberg@kernel.org>
Fri, 8 Apr 2011 12:14:33 +0000 (15:14 +0300)
committerPekka Enberg <penberg@kernel.org>
Fri, 8 Apr 2011 12:57:10 +0000 (15:57 +0300)
The point of SIGQUIT is to dump relevant information of a running guest, not to
stop it.

Cc: Asias He <asias.hejun@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/main.c

index 5bcefde3e96e1aa8f6454ca15934e6f74ac7bece..6aa2534c3bb6184102fe2670248344e0ccc9a81f 100644 (file)
@@ -41,9 +41,6 @@ static void handle_sigquit(int sig)
        kvm__show_registers(kvm);
        kvm__show_code(kvm);
        kvm__show_page_tables(kvm);
-       kvm__delete(kvm);
-
-       exit(1);
 }
 
 static char real_cmdline[2048];