qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 2305411] i386: Drop redundant kvm_enabled test


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 2305411] i386: Drop redundant kvm_enabled test
Date: Sat, 12 Sep 2009 15:54:09 -0000

From: Jan Kiszka <address@hidden>

cpu_synchronize_state already does this.

Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>

diff --git a/target-i386/helper.c b/target-i386/helper.c
index 45b04ee..8111f25 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]