aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target-i386/helper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 7152dc4..c0fc556 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -578,6 +578,9 @@ 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())
+ kvm_arch_get_registers(env);
+
eflags = env->eflags;
#ifdef TARGET_X86_64
if (env->hflags & HF_CS64_MASK) {