kvm: testsuite: add test for mov ax, imm
[qemu-kvm/fedora.git] / qemu-kvm-ia64.c
blobd227d220b155bec6f41ff600b9ec4a36bf8081b4
2 #include "config.h"
3 #include "config-host.h"
5 #include <string.h>
7 #include "hw/hw.h"
8 #include "qemu-kvm.h"
9 #include <libkvm.h>
10 #include <pthread.h>
11 #include <sys/utsname.h>
14 extern kvm_context_t kvm_context;
16 int kvm_arch_qemu_create_context(void)
18 return 0;
21 void kvm_arch_load_regs(CPUState *env)
26 void kvm_arch_save_regs(CPUState *env)
30 int kvm_arch_qemu_init_env(CPUState *cenv)
32 return 0;
35 int kvm_arch_halt(void *opaque, int vcpu)
37 CPUState *env = cpu_single_env;
38 env->hflags |= HF_HALTED_MASK;
39 env->exception_index = EXCP_HLT;
40 return 1;
43 void kvm_arch_pre_kvm_run(void *opaque, int vcpu)
47 void kvm_arch_post_kvm_run(void *opaque, int vcpu)
51 int kvm_arch_has_work(CPUState *env)
53 return 1;
56 int kvm_arch_try_push_interrupts(void *opaque)
58 return 1;
61 void kvm_arch_update_regs_for_sipi(CPUState *env)
65 void kvm_arch_cpu_reset(CPUState *env)