Revision f5c848ee kvm-all.c

b/kvm-all.c
832 832
    if (run->internal.suberror == KVM_INTERNAL_ERROR_EMULATION) {
833 833
        fprintf(stderr, "emulation failure\n");
834 834
        if (!kvm_arch_stop_on_emulation_error(env)) {
835
            cpu_dump_state(env, stderr, fprintf, 0);
835
            cpu_dump_state(env, stderr, fprintf, CPU_DUMP_CODE);
836 836
            return 0;
837 837
        }
838 838
    }
......
994 994
    } while (ret > 0);
995 995

  
996 996
    if (ret < 0) {
997
        cpu_dump_state(env, stderr, fprintf, 0);
997
        cpu_dump_state(env, stderr, fprintf, CPU_DUMP_CODE);
998 998
        vm_stop(0);
999 999
        env->exit_request = 1;
1000 1000
    }

Also available in: Unified diff