Commit ff3c01ca0a36f64abb18ea51e3ab06b9b5c08a2a

Authored by balrog
1 parent 9794f74f

Fix "info registers" under kvm.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6684 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 3 additions and 0 deletions
target-i386/helper.c
... ... @@ -578,6 +578,9 @@ void cpu_dump_state(CPUState *env, FILE *f,
578 578 char cc_op_name[32];
579 579 static const char *seg_name[6] = { "ES", "CS", "SS", "DS", "FS", "GS" };
580 580  
  581 + if (kvm_enabled())
  582 + kvm_arch_get_registers(env);
  583 +
581 584 eflags = env->eflags;
582 585 #ifdef TARGET_X86_64
583 586 if (env->hflags & HF_CS64_MASK) {
... ...