diff options
author | Gleb Natapov | 2009-09-10 13:32:55 +0200 |
---|---|---|
committer | Anthony Liguori | 2009-09-11 18:10:09 +0200 |
commit | 2637c754ccdb286890ed2a8d0d1da775dbd062af (patch) | |
tree | 2b6cec7d39b4d22a0e60e7f66c4970a31a57feaf /target-i386/helper.c | |
parent | vmstate: port cirrus_vga device (diff) | |
download | qemu-2637c754ccdb286890ed2a8d0d1da775dbd062af.tar.gz qemu-2637c754ccdb286890ed2a8d0d1da775dbd062af.tar.xz qemu-2637c754ccdb286890ed2a8d0d1da775dbd062af.zip |
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>
Diffstat (limited to 'target-i386/helper.c')
-rw-r--r-- | target-i386/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index 27063e58b7..8abbed0a6f 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -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 |