* [Qemu-devel] [PATCH] kvm_arch_get_registers() shouldn't be called directly
@ 2009-09-10 11:32 Gleb Natapov
0 siblings, 0 replies; only message in thread
From: Gleb Natapov @ 2009-09-10 11:32 UTC (permalink / raw)
To: qemu-devel
Direct call to kvm_arch_get_registers() bypass logic in
cpu_synchronize_state()
Signed-off-by: Gleb Natapov <gleb@redhat.com>
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 27063e5..8abbed0 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
--
Gleb.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-10 11:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-10 11:32 [Qemu-devel] [PATCH] kvm_arch_get_registers() shouldn't be called directly Gleb Natapov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.