Andi Kleen wrote: > Jan Kiszka writes: > >> [ This patch obsoletes >> http://permalink.gmane.org/gmane.comp.emulators.qemu/22989. ] >> >> The x86 emulation yet lacks proper NMI support. This patch introduces >> CPU_INTERRUPT_NMI and the required handling logic so that hardware >> emulation drivers can simply call >> >> cpu_interrupt(env, CPU_INTERRUPT_NMI); >> >> to raise an NMI on this arch. > > Could you please add a monitor command to raise it too? Some OS support > triggering debugging code from NMIs and that might be useful > inside qemu too. Will it be enough just the raise the NMI? Or doesn't you also have to modify some hardware state somewhere? Maybe you could provide an example for what you have in mind (it's trivial to hack such an extension, I'm just curious to understand its background). Jan