spapr: Add support for new NMI interface
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 20 Aug 2014 12:16:36 +0000 (22:16 +1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 25 Aug 2014 11:25:16 +0000 (13:25 +0200)
commit3431648272d317ed768fe46183c7a1cea4803732
treed36db2e4a09b9a12069adcc2a500ffc01e165851
parent3dd7852f1925ec1b3eca32c894e1a84882e145f1
spapr: Add support for new NMI interface

This implements an NMI interface POWERPC SPAPR machine.
This enables an "nmi" HMP/QMP command supported on SPAPR.

This calls POWERPC_EXCP_RESET (vector 0x100) in the guest to deliver NMI
to every CPU. The expected result is XMON (in-kernel debugger) invocation.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/ppc/spapr.c
target-ppc/cpu-qom.h
target-ppc/excp_helper.c