From patchwork Fri Apr 8 12:44:50 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pekka Enberg X-Patchwork-Id: 694501 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p38Civvp020827 for ; Fri, 8 Apr 2011 12:44:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756559Ab1DHMoy (ORCPT ); Fri, 8 Apr 2011 08:44:54 -0400 Received: from filtteri1.pp.htv.fi ([213.243.153.184]:44135 "EHLO filtteri1.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756547Ab1DHMoy (ORCPT ); Fri, 8 Apr 2011 08:44:54 -0400 Received: from localhost (localhost [127.0.0.1]) by filtteri1.pp.htv.fi (Postfix) with ESMTP id 3C0818BBD3; Fri, 8 Apr 2011 15:44:53 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at pp.htv.fi Received: from smtp4.welho.com ([213.243.153.38]) by localhost (filtteri1.pp.htv.fi [213.243.153.184]) (amavisd-new, port 10024) with ESMTP id oNBSGp2DKeVg; Fri, 8 Apr 2011 15:44:52 +0300 (EEST) Received: from localhost.localdomain (cs181148025.pp.htv.fi [82.181.148.25]) by smtp4.welho.com (Postfix) with ESMTP id C13305BC012; Fri, 8 Apr 2011 15:44:52 +0300 (EEST) From: Pekka Enberg To: kvm@vger.kernel.org Cc: Pekka Enberg , Asias He , Cyrill Gorcunov , Ingo Molnar Subject: [PATCH 1/2] kvm tools: Don't exit() on SIGQUIT Date: Fri, 8 Apr 2011 15:44:50 +0300 Message-Id: <1302266691-8066-1-git-send-email-penberg@kernel.org> X-Mailer: git-send-email 1.7.0.4 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 08 Apr 2011 12:44:57 +0000 (UTC) The point of SIGQUIT is to dump relevant information of a running guest, not to stop it. Cc: Asias He Cc: Cyrill Gorcunov Cc: Ingo Molnar Signed-off-by: Pekka Enberg --- tools/kvm/main.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) 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];