diff options
author | 2009-12-21 14:30:54 +0200 | |
---|---|---|
committer | 2009-12-22 10:56:16 +0200 | |
commit | d1b2fe2bfeb1885d84b3f7a86d8cf166dcb3b455 (patch) | |
tree | 943ac15fc86852482cd82e68f37b9d0124a75af3 /qemu-kvm-x86.c | |
parent | Add vapic optionrom binary (diff) | |
download | qemu-kvm-d1b2fe2bfeb1885d84b3f7a86d8cf166dcb3b455.tar.gz qemu-kvm-d1b2fe2bfeb1885d84b3f7a86d8cf166dcb3b455.tar.bz2 qemu-kvm-d1b2fe2bfeb1885d84b3f7a86d8cf166dcb3b455.zip |
Don't leak kvm_save_mpstate() to main qemu code
It doesn't exist outside x86, and breaks the build. Move it to
cpu_synchronize_state() instead (only reading, not writing).
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'qemu-kvm-x86.c')
-rw-r--r-- | qemu-kvm-x86.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c index 7b7bc0f43..82e362cce 100644 --- a/qemu-kvm-x86.c +++ b/qemu-kvm-x86.c @@ -1217,6 +1217,7 @@ void kvm_arch_save_regs(CPUState *env) return; } } + kvm_arch_save_mpstate(env); } static void do_cpuid_ent(struct kvm_cpuid_entry2 *e, uint32_t function, |