From: Gleb Natapov <gleb@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: Peter Maydell <peter.maydell@linaro.org>,
Lai Jiangshan <eag0628@gmail.com>,
Jiangshan <laijs@cn.fujitsu.com>,
kvm@vger.kernel.org, Jan Kiszka <jan.kiszka@siemens.com>,
qemu-devel@nongnu.org, Markus Armbruster <armbru@redhat.com>,
Avi Kivity <avi@redhat.com>,
Luiz Capitulino <lcapitulino@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: add inject-nmi qmp command
Date: Thu, 7 Apr 2011 21:51:08 +0300 [thread overview]
Message-ID: <20110407185108.GE7100@redhat.com> (raw)
In-Reply-To: <4D9E0352.2050204@codemonkey.ws>
On Thu, Apr 07, 2011 at 01:32:50PM -0500, Anthony Liguori wrote:
> On 04/07/2011 01:10 PM, Peter Maydell wrote:
> >On 6 April 2011 20:34, Anthony Liguori<anthony@codemonkey.ws> wrote:
> >>http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=/liaai/crashdump/liaaicrashdumpnmiipmi.htm
> >>
> >>If an OS is totally hosed (spinning with interrupts disabled), and NMI 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. The 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 ?
>
> Yup, I was thinking the same thing after I sent the note above. If
> we call it 'force-crash-dump', we can implement it as an NMI on
> target-i386 and potentially as something else on a different target.
>
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. Lets give meaningful name, like inject-nmi, for nmi
injection command.
--
Gleb.
next prev parent reply other threads:[~2011-04-07 18:51 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-07 9:43 [Qemu-devel] [PATCH 0/2 V7] add inject-nmi qmp command Lai Jiangshan
2011-03-07 9:45 ` [Qemu-devel] [PATCH 1/2] qemu,qmp: QError: New QERR_UNSUPPORTED Lai Jiangshan
2011-03-07 9:46 ` [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: add inject-nmi qmp command Lai Jiangshan
2011-04-04 10:59 ` Daniel P. Berrange
2011-04-04 12:19 ` Markus Armbruster
2011-04-04 13:04 ` Luiz Capitulino
2011-04-04 13:09 ` Anthony Liguori
2011-04-04 13:34 ` Luiz Capitulino
2011-04-20 1:53 ` [Qemu-devel] [PATCH 2/2 V7] qemu, qmp: " Lai Jiangshan
2011-04-20 3:02 ` Lai Jiangshan
2011-04-25 15:00 ` Luiz Capitulino
2011-04-04 12:54 ` [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: " Avi Kivity
2011-04-04 13:05 ` Anthony Liguori
2011-04-06 17:47 ` Luiz Capitulino
2011-04-06 18:03 ` Anthony Liguori
2011-04-06 18:08 ` Luiz Capitulino
2011-04-06 18:17 ` Jan Kiszka
2011-04-06 19:00 ` Luiz Capitulino
2011-04-06 19:27 ` Peter Maydell
2011-04-06 19:34 ` Anthony Liguori
2011-04-07 7:29 ` Jan Kiszka
2011-04-07 18:10 ` Peter Maydell
2011-04-07 18:32 ` Anthony Liguori
2011-04-07 18:51 ` Gleb Natapov [this message]
2011-04-07 19:04 ` Blue Swirl
2011-04-07 19:17 ` Gleb Natapov
2011-04-07 21:41 ` Anthony Liguori
2011-04-08 6:04 ` Gleb Natapov
2011-04-08 19:17 ` Blue Swirl
2011-04-08 19:32 ` Anthony Liguori
2011-04-08 20:07 ` Blue Swirl
2011-05-03 10:01 ` [Qemu-devel] [PATCH 2/2 V7] qemu, qmp: " Jamie Lokier
2011-04-10 8:52 ` [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: " Avi Kivity
2011-04-11 7:01 ` Markus Armbruster
2011-04-11 17:15 ` [Qemu-devel] [PATCH 2/2 V7] qemu, qmp: " Blue Swirl
2011-04-12 7:52 ` Avi Kivity
2011-04-12 18:31 ` Blue Swirl
2011-04-13 13:08 ` Luiz Capitulino
2011-04-13 19:56 ` Blue Swirl
2011-04-14 6:41 ` Markus Armbruster
2011-04-14 9:55 ` Daniel P. Berrange
2011-04-15 16:37 ` Blue Swirl
2011-04-07 21:39 ` [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: " Anthony Liguori
2011-04-08 5:54 ` Gleb Natapov
2011-05-03 9:54 ` [Qemu-devel] [PATCH 2/2 V7] qemu, qmp: " Jamie Lokier
2011-04-10 8:57 ` [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: " Avi Kivity
2011-04-20 6:19 ` [Qemu-devel] [RFC PATCH 0/3 V8] QAPI: " Lai Jiangshan
2011-04-21 3:23 ` Lai Jiangshan
2011-04-26 13:26 ` Luiz Capitulino
2011-04-26 13:29 ` Anthony Liguori
2011-04-27 1:54 ` Lai Jiangshan
2011-04-27 14:33 ` Luiz Capitulino
2011-04-28 3:35 ` [Qemu-devel] [PATCH 0/2 V9] hmp,qmp: add inject-nmi Lai Jiangshan
2011-04-29 22:24 ` Luiz Capitulino
2011-04-28 3:35 ` [Qemu-devel] [PATCH 1/2 V9] qemu, qmp: QError: New QERR_UNSUPPORTED Lai Jiangshan
2011-04-28 3:35 ` [Qemu-devel] [PATCH 2/2 V9] qmp, inject-nmi: convert do_inject_nmi() to QObject Lai Jiangshan
2011-04-25 17:07 ` [Qemu-devel] [RFC PATCH 0/3 V8] QAPI: add inject-nmi qmp command Michael Roth
2011-04-20 6:19 ` [Qemu-devel] [RFC PATCH 1/3 V8] QError: Introduce QERR_UNSUPPORTED Lai Jiangshan
2011-04-20 6:19 ` [Qemu-devel] [RFC PATCH 2/3 V8] qapi, nmi: add inject-nmi qmp command Lai Jiangshan
2011-04-20 6:19 ` [Qemu-devel] [RFC PATCH 3/3 V8] qapi-hmp: Convert HMP nmi to use QMP Lai Jiangshan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110407185108.GE7100@redhat.com \
--to=gleb@redhat.com \
--cc=anthony@codemonkey.ws \
--cc=armbru@redhat.com \
--cc=avi@redhat.com \
--cc=eag0628@gmail.com \
--cc=jan.kiszka@siemens.com \
--cc=kvm@vger.kernel.org \
--cc=laijs@cn.fujitsu.com \
--cc=lcapitulino@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).