]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/spapr: Allow FWNMI on TCG
authorNicholas Piggin <npiggin@gmail.com>
Mon, 16 Mar 2020 14:26:10 +0000 (00:26 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 17 Mar 2020 06:00:22 +0000 (17:00 +1100)
commit89ba45652b0ce41e96ebf7108cfca0906201a967
tree2fa9bdc56678c33b4d6db6e64069fe35e4460740
parentad77c6ca0c63e39eb6ded9c1a761eaa16b21b7f9
ppc/spapr: Allow FWNMI on TCG

There should no longer be a reason to prevent TCG providing FWNMI.
System Reset interrupts are generated to the guest with nmi monitor
command and H_SIGNAL_SYS_RESET. Machine Checks can not be injected
currently, but this could be implemented with the mce monitor cmd
similarly to i386.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20200316142613.121089-6-npiggin@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
[dwg: Re-enable FWNMI in qtests, since that now works]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_caps.c
tests/qtest/libqos/libqos-spapr.h