From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Maydell Subject: Re: [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: add inject-nmi qmp command Date: Thu, 7 Apr 2011 19:10:39 +0100 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Luiz Capitulino , Lai Jiangshan , Jiangshan , kvm@vger.kernel.org, Jan Kiszka , Markus Armbruster , qemu-devel@nongnu.org, Avi Kivity To: Anthony Liguori Return-path: Received: from mail-vw0-f46.google.com ([209.85.212.46]:65167 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751886Ab1DGSKk convert rfc822-to-8bit (ORCPT ); Thu, 7 Apr 2011 14:10:40 -0400 Received: by vws1 with SMTP id 1so2126399vws.19 for ; Thu, 07 Apr 2011 11:10:39 -0700 (PDT) In-Reply-To: <4D9CC044.2000705@codemonkey.ws> Sender: kvm-owner@vger.kernel.org List-ID: On 6 April 2011 20:34, Anthony Liguori wrote: > http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?top= ic=3D/liaai/crashdump/liaaicrashdumpnmiipmi.htm > > If an OS is totally hosed (spinning with interrupts disabled), and NM= I can > be used to generate a crash dump. > > It's a debug feature and modelling it exactly the way we are probably= makes > sense for other architectures too. =C2=A0The real semantics are basic= ally 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