projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7666bc3
)
kvm_arch_get_registers() shouldn't be called directly
author
Gleb Natapov
<gleb@redhat.com>
Thu, 10 Sep 2009 11:32:55 +0000
(14:32 +0300)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Fri, 11 Sep 2009 16:10:09 +0000
(11:10 -0500)
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>
target-i386/helper.c
patch
|
blob
|
history
diff --git
a/target-i386/helper.c
b/target-i386/helper.c
index
27063e5
..
8abbed0
100644
(file)
--- 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