sim-card
/
qemu
Archived
10
0
Fork 0

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:
Gleb Natapov 2009-09-10 14:32:55 +03:00 committed by Anthony Liguori
parent 7e72abc382
commit 2637c754cc
1 changed files with 1 additions and 1 deletions

View File

@ -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