* [Qemu-devel] [PATCH] i386: Drop redundant kvm_enabled test
@ 2009-09-12 14:50 Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2009-09-12 14:50 UTC (permalink / raw)
To: Anthony Liguori; +Cc: qemu-devel, Gleb Natapov
[-- Attachment #1: Type: text/plain, Size: 662 bytes --]
cpu_synchronize_state already does this.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
target-i386/helper.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-12 14:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-12 14:50 [Qemu-devel] [PATCH] i386: Drop redundant kvm_enabled test Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).