From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47835 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8qSP-00007X-Fz for qemu-devel@nongnu.org; Sun, 10 Apr 2011 04:57:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8qSN-0007OU-Sr for qemu-devel@nongnu.org; Sun, 10 Apr 2011 04:57:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8qSN-0007OL-IF for qemu-devel@nongnu.org; Sun, 10 Apr 2011 04:57:19 -0400 Message-ID: <4DA170E0.9090709@redhat.com> Date: Sun, 10 Apr 2011 11:57:04 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: add inject-nmi qmp command References: <4D99C22C.4070401@codemonkey.ws> <20110406144723.45333682@doriath> <4D9CAAF9.7000509@codemonkey.ws> <20110406150818.56707b9b@doriath> <4D9CAE4B.7080305@siemens.com> <20110406160020.373cb5a2@doriath> <4D9CC044.2000705@codemonkey.ws> <4D9E0352.2050204@codemonkey.ws> <20110407185108.GE7100@redhat.com> <4D9E2F2E.8070203@codemonkey.ws> In-Reply-To: <4D9E2F2E.8070203@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , Lai Jiangshan , Jiangshan , Gleb Natapov , Jan Kiszka , qemu-devel@nongnu.org, Markus Armbruster , kvm@vger.kernel.org, Luiz Capitulino On 04/08/2011 12:39 AM, Anthony Liguori wrote: > On 04/07/2011 01:51 PM, Gleb Natapov wrote: >> NMI does not have to generate crash dump on every guest we support. >> Actually even for windows guest it does not generate one without >> tweaking registry. For all I know there is a guest that checks mail when >> NMI arrives. > > And for all we know, a guest can respond to an ACPI poweroff event by > tweeting the star spangled banner but we still call the corresponding > QMP command system_poweroff. > A better name for it would be system_power_button. While guests that blast away national anthems when the button is pressed are rare (no doubt to the high localization costs), it's possible to configure an OS to go into S3 sleep when the button is pressed (I used to do it when I had a desktop at home). -- error compiling committee.c: too many arguments to function