diff options
author | 2009-09-13 11:30:11 +0300 | |
---|---|---|
committer | 2009-09-18 13:14:00 -0300 | |
commit | 42ef49898a00887a549d205c64a3c0d02c21ae9b (patch) | |
tree | f7e5b501cdf918a427f37813b6aa15295906be0d /qemu-kvm-x86.c | |
parent | Remove unused function. (diff) | |
download | qemu-kvm-42ef49898a00887a549d205c64a3c0d02c21ae9b.tar.gz qemu-kvm-42ef49898a00887a549d205c64a3c0d02c21ae9b.tar.bz2 qemu-kvm-42ef49898a00887a549d205c64a3c0d02c21ae9b.zip |
Use kvm_cpu_synchronize_state() instead of kvm_arch_(save|load)_regs()
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'qemu-kvm-x86.c')
-rw-r--r-- | qemu-kvm-x86.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c index ee678dfee..6e5bcc5c4 100644 --- a/qemu-kvm-x86.c +++ b/qemu-kvm-x86.c @@ -1671,10 +1671,9 @@ uint32_t kvm_arch_get_supported_cpuid(CPUState *env, uint32_t function, void kvm_arch_process_irqchip_events(CPUState *env) { - kvm_arch_save_regs(env); + kvm_cpu_synchronize_state(env); if (env->interrupt_request & CPU_INTERRUPT_INIT) do_cpu_init(env); if (env->interrupt_request & CPU_INTERRUPT_SIPI) do_cpu_sipi(env); - kvm_arch_load_regs(env); } |