Skip to contentSkip to conversation

i386: Drop redundant kvm_enabled test

PATCH New Jan Kiszka 1 participant 1 message Sep 12, 2009

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 i386: Drop redundant kvm_enabled test

cpu_synchronize_state already does this.

---

 target-i386/helper.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
target-i386/helper.c +1 -2
index 45b04ee..8111f25 100644
@@ -743,8 +743,7 @@ void cpu_dump_state(CPUState *env, FILE *f,
     char cc_op_name[32];
     static const char *seg_name[6] = { "ES", "CS", "SS", "DS", "FS", "GS" };
 
-    if (kvm_enabled())
-        cpu_synchronize_state(env);
+    cpu_synchronize_state(env);
 
     eflags = env->eflags;
 #ifdef TARGET_X86_64