kvm_arch_get_registers() shouldn't be called directly
Direct call to kvm_arch_get_registers() bypass logic in cpu_synchronize_state() Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
7e72abc382
commit
2637c754cc
@ -744,7 +744,7 @@ void cpu_dump_state(CPUState *env, FILE *f,
|
||||
static const char *seg_name[6] = { "ES", "CS", "SS", "DS", "FS", "GS" };
|
||||
|
||||
if (kvm_enabled())
|
||||
kvm_arch_get_registers(env);
|
||||
cpu_synchronize_state(env);
|
||||
|
||||
eflags = env->eflags;
|
||||
#ifdef TARGET_X86_64
|
||||
|
Loading…
Reference in New Issue
Block a user