aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-04 21:00:07 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-04 21:00:07 +0000
commitff3c01ca0a36f64abb18ea51e3ab06b9b5c08a2a (patch)
treeb888a4714ed65a02c2fc5b7bbb98e57b8ee64067
parent9794f74f9c1dd0fbef30ded9e5c14c28a6fa579b (diff)
Fix "info registers" under kvm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6684 c046a42c-6fe2-441c-8c8c-71466251a162
-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 7152dc4297..c0fc556c70 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) {