From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: add inject-nmi qmp command Date: Sun, 10 Apr 2011 11:57:04 +0300 Message-ID: <4DA170E0.9090709@redhat.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Gleb Natapov , Peter Maydell , Lai Jiangshan , Jiangshan , kvm@vger.kernel.org, Jan Kiszka , qemu-devel@nongnu.org, Markus Armbruster , Luiz Capitulino To: Anthony Liguori Return-path: Received: from mx1.redhat.com ([209.132.183.28]:24884 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751649Ab1DJI5W (ORCPT ); Sun, 10 Apr 2011 04:57:22 -0400 In-Reply-To: <4D9E2F2E.8070203@codemonkey.ws> Sender: kvm-owner@vger.kernel.org List-ID: 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