summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-08-31 12:09:49 +0300
committerAvi Kivity <avi@redhat.com>2009-08-31 12:34:43 +0300
commit54d2473ed6e9733b508a2dcc589435779e2cc7f0 (patch)
tree44c276f2a691a4eb7c4d1bc96daaeb917dbf7b52 /qemu-kvm-x86.c
parentMerge branch 'upstream-merge' (diff)
downloadqemu-kvm-54d2473ed6e9733b508a2dcc589435779e2cc7f0.tar.gz
qemu-kvm-54d2473ed6e9733b508a2dcc589435779e2cc7f0.tar.bz2
qemu-kvm-54d2473ed6e9733b508a2dcc589435779e2cc7f0.zip
Fix mpstate reloads
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'qemu-kvm-x86.c')
-rw-r--r--qemu-kvm-x86.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c
index 64398fbdf..f80d82bf8 100644
--- a/qemu-kvm-x86.c
+++ b/qemu-kvm-x86.c
@@ -1035,6 +1035,8 @@ void kvm_arch_save_mpstate(CPUState *env)
env->mp_state = -1;
else
env->mp_state = mp_state.mp_state;
+#else
+ env->mp_state = -1;
#endif
}