diff options
author | Jes Sorensen <jes@sgi.com> | 2008-10-02 17:37:08 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-10-05 11:55:19 +0200 |
commit | a192b8b6bf4e7269e862fa2a8e63fd4f4bd540aa (patch) | |
tree | 412a6ca544cd9771f51a3e1ec49657e92e4106b0 /qemu-kvm-ia64.c | |
parent | 5e846eaa7894446a10d21e6cdddd9b256b28a929 (diff) |
Fix build breakage on ia64
- Declare 'env' properly as on all other architectures, instead of
having a local declaration in every object
- Introduce kvm_arch_try_push_nmi()
- Remove and cleanup fallout from having stdio.h included in cpu.h
Signed-off-by: Jes Sorensen <jes@sgi.com>
Acked-by : Xiantao zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'qemu-kvm-ia64.c')
-rw-r--r-- | qemu-kvm-ia64.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qemu-kvm-ia64.c b/qemu-kvm-ia64.c index 69abe2e11..4b24564e0 100644 --- a/qemu-kvm-ia64.c +++ b/qemu-kvm-ia64.c @@ -57,6 +57,11 @@ int kvm_arch_try_push_interrupts(void *opaque) return 1; } +int kvm_arch_try_push_nmi(void *opaque) +{ + return 1; +} + void kvm_arch_update_regs_for_sipi(CPUState *env) { } |