From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: qemu-devel@nongnu.org
Cc: "Alexey Kardashevskiy" <aik@ozlabs.ru>,
"Paolo Bonzini" <pbonzini@redhat.com>,
qemu-ppc@nongnu.org, "Andreas Färber" <afaerber@suse.de>
Subject: [Qemu-devel] [PATCH 0/2] nmi: add interface
Date: Thu, 27 Mar 2014 13:21:18 +1100 [thread overview]
Message-ID: <1395886880-11021-1-git-send-email-aik@ozlabs.ru> (raw)
This adds machine-specific NMI handlers support. This QOM approach
was copied from FWPathProvider.
Few questions so far.
Should deliver_nmi() accept a CPU? A comment in hmp-commands.hx says
"Inject an NMI (x86), RESTART (s390x) on the given CPU" but in fact
qmp_inject_nmi() delivers NMI to every x86 CPU while it delivers only
to the current s390 CPU.
Please comment. Thanks!
Alexey Kardashevskiy (2):
spapr: Add NMI interface
spapr: Define NMI interface
cpus.c | 7 ++++++-
hmp-commands.hx | 4 +---
hw/core/Makefile.objs | 1 +
hw/core/nmi.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
hw/ppc/spapr.c | 26 ++++++++++++++++++++++++++
include/hw/nmi.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 132 insertions(+), 4 deletions(-)
create mode 100644 hw/core/nmi.c
create mode 100644 include/hw/nmi.h
--
1.8.4.rc4
next reply other threads:[~2014-03-27 2:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-27 2:21 Alexey Kardashevskiy [this message]
2014-03-27 2:21 ` [Qemu-devel] [PATCH 1/2] spapr: Add NMI interface Alexey Kardashevskiy
2014-03-27 2:21 ` [Qemu-devel] [PATCH 2/2] spapr: Define " Alexey Kardashevskiy
2014-03-27 11:58 ` Paolo Bonzini
2014-03-27 13:14 ` Alexey Kardashevskiy
2014-03-27 14:06 ` Paolo Bonzini
2014-03-27 13:54 ` [Qemu-devel] [Qemu-ppc] " Alexander Graf
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=1395886880-11021-1-git-send-email-aik@ozlabs.ru \
--to=aik@ozlabs.ru \
--cc=afaerber@suse.de \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@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).