mirror of
https://github.com/qemu/qemu.git
synced 2024-12-18 17:53:40 +08:00
Fix "info registers" under kvm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6684 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
9794f74f9c
commit
ff3c01ca0a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user