qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] [PATCH v2 0/5] nmi: add interface


From: Alexey Kardashevskiy
Subject: [Qemu-ppc] [PATCH v2 0/5] nmi: add interface
Date: Fri, 28 Mar 2014 23:51:47 +1100

This adds an NMI handler per CPUs. x86, s390 and ppc CPUS are supported.

The change to existing behaviour is that x86 only delivers NMI to
the current monitored CPU now, not to every CPU.

Please comment. Thanks.

Changes:
v2:
* moved from machine interface to CPUClass callback
* s390 and x86 moved to target-s390/target-i386
* x86 handler delivers to the current CPU only now


Alexey Kardashevskiy (5):
  cpu: Add NMI callback
  target-i386: Implement nmi() callback
  target-s390: Implement nmi() callback
  target-ppc: Implement nmi() callback
  cpus: Enable nmi() callback use

 cpus.c                      | 33 +++++++--------------------------
 hmp-commands.hx             |  4 +---
 include/qom/cpu.h           |  1 +
 target-i386/cpu.c           | 14 ++++++++++++++
 target-ppc/cpu-qom.h        |  1 +
 target-ppc/excp_helper.c    |  2 +-
 target-ppc/translate_init.c | 18 ++++++++++++++++++
 target-s390x/cpu.c          |  6 ++++++
 8 files changed, 49 insertions(+), 30 deletions(-)

-- 
1.8.4.rc4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]