From: Pekka Enberg Subject: Re: [PATCH 1/3] kvm tools: Make keyboard termination go through regular termination path Date: Thu, 11 Aug 2011 16:47:53 +0300 (EEST) Message-ID: References: <1313066636-28332-1-git-send-email-levinsasha928@gmail.com> <1313070086.3456.17.camel@lappy> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com, gorcunov@gmail.com To: Sasha Levin Return-path: Received: from mail-bw0-f46.google.com ([209.85.214.46]:48564 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750866Ab1HKNr5 (ORCPT ); Thu, 11 Aug 2011 09:47:57 -0400 Received: by bke11 with SMTP id 11so989337bke.19 for ; Thu, 11 Aug 2011 06:47:56 -0700 (PDT) In-Reply-To: <1313070086.3456.17.camel@lappy> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, 11 Aug 2011, Sasha Levin wrote: >> This is a nice cleanup but I'm not happy about the fact that you also nuke >> the above printf(). Is there a simple way to keep it there? >> > > You get that printf from the normal exit path. You get a different printf: $ grep -r "KVM session" *.c builtin-run.c: printf("\n # KVM session ended normally.\n"); term.c: printf("\n # KVM session terminated.\n"); It's nice to see that the user terminated the session without going through reboot cycle. Dunno how much it matters but it'd be nice to keep it since it's already there. Pekka