kvm: qemu: fix non-x86 NMI hooks
commit945ea856a1db71cedaa091dbdeb40929920d1962
authorJan Kiszka <jan.kiszka@web.de>
Mon, 1 Dec 2008 23:02:37 +0000 (2 00:02 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 2 Dec 2008 09:24:10 +0000 (2 11:24 +0200)
treef605eec353b082f9960d3957b179f691088196ed
parent6e0f4d4f4a83b926e7281af4083657af8b1e7e75
kvm: qemu: fix non-x86 NMI hooks

My previous x86-only change to the NMI push hook broke PPC and IA64.
This is a proper fix plus a cleanup of the #ifdef-based approach to
solve the breakage.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Acked-by: Xiantao Zhang <xiantao.zhang@intel.com>
Acked-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
qemu/qemu-kvm-ia64.c
qemu/qemu-kvm-powerpc.c
qemu/qemu-kvm.c