diff mbox

[1/2] kvm tools: Don't exit() on SIGQUIT

Message ID 1302266691-8066-1-git-send-email-penberg@kernel.org (mailing list archive)
State New, archived
Headers show

Commit Message

Pekka Enberg April 8, 2011, 12:44 p.m. UTC
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 |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/tools/kvm/main.c b/tools/kvm/main.c
index 5bcefde..6aa2534 100644
--- a/tools/kvm/main.c
+++ b/tools/kvm/main.c
@@ -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];