summaryrefslogtreecommitdiff
path: root/target-i386/helper.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2009-09-12 16:50:07 +0200
committerBlue Swirl <blauwirbel@gmail.com>2009-09-12 15:52:13 +0000
commit329323ff404157696fdd8b32b63913f8d5872e4b (patch)
tree222b45fbd38a08d8d7437b40ab1d9a82e7ab571e /target-i386/helper.c
parent51b9ad4f844cc3e2b4c96740ba6bb6afc90d36c2 (diff)
downloadqemu-329323ff404157696fdd8b32b63913f8d5872e4b.tar.gz
qemu-329323ff404157696fdd8b32b63913f8d5872e4b.tar.bz2
qemu-329323ff404157696fdd8b32b63913f8d5872e4b.zip
i386: Drop redundant kvm_enabled test
cpu_synchronize_state already does this. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386/helper.c')
-rw-r--r--target-i386/helper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 45b04eeb03..8111f25662 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