summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kvm-tpr-opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-tpr-opt.c b/kvm-tpr-opt.c
index 2565d79cd..89256d4c4 100644
--- a/kvm-tpr-opt.c
+++ b/kvm-tpr-opt.c
@@ -225,7 +225,7 @@ static int get_pcr_cpu(CPUState *env)
{
uint8_t b;
- kvm_save_registers(env);
+ cpu_synchronize_state(env);
if (cpu_memory_rw_debug(env, env->segs[R_FS].base + 0x51, &b, 1, 0) < 0)
return -1;