From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35207 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7tfG-0005fb-MN for qemu-devel@nongnu.org; Thu, 07 Apr 2011 14:10:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7tfF-0000va-DM for qemu-devel@nongnu.org; Thu, 07 Apr 2011 14:10:42 -0400 Received: from mail-vw0-f45.google.com ([209.85.212.45]:39991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7tfF-0000vW-AX for qemu-devel@nongnu.org; Thu, 07 Apr 2011 14:10:41 -0400 Received: by vws17 with SMTP id 17so2456654vws.4 for ; Thu, 07 Apr 2011 11:10:39 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4D9CC044.2000705@codemonkey.ws> References: <4D74A8C9.2020408@cn.fujitsu.com> <4D74A974.6090509@cn.fujitsu.com> <20110404105949.GA30324@redhat.com> <4D99BF99.1040305@redhat.com> <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> Date: Thu, 7 Apr 2011 19:10:39 +0100 Message-ID: Subject: Re: [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: add inject-nmi qmp command From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Lai Jiangshan , Jiangshan , kvm@vger.kernel.org, qemu-devel@nongnu.org, Jan Kiszka , Markus Armbruster , Luiz Capitulino , Avi Kivity On 6 April 2011 20:34, Anthony Liguori wrote: > http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic= =3D/liaai/crashdump/liaaicrashdumpnmiipmi.htm > > If an OS is totally hosed (spinning with interrupts disabled), and NMI ca= n > be used to generate a crash dump. > > It's a debug feature and modelling it exactly the way we are probably mak= es > sense for other architectures too. =C2=A0The real semantics are basically= force > guest crash dump. Ah, right. (There isn't really an equivalent to this on ARM since we don't have a real NMI equivalent. So any implementation for ARM qemu would be board dependent since you could wire a watchdog up to any interrupt.) Should we try to pick a command name that says what it's supposed to do rather than how it happens to be implemented on x86 ? -- PMM