From: Avi Kivity <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
diff --git a/kvm-tpr-opt.c b/kvm-tpr-opt.c
index 2565d79..89256d4 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;
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html