diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-08-30 11:58:45 +0200 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-09-12 11:20:42 -0700 |
commit | f2f8560c7a5303065a2a3207ec475dfb3a622a0e (patch) | |
tree | 6270568fe70db2f5b9ec9b5b1d52f13d44f3b1c3 /target-i386/svm.h | |
parent | 2d1fe1873a984d1c2c89ffa3d12949cafc718551 (diff) |
target-i386: fix disassembly with PAE=1, PG=0
CR4.PAE=1 will not enable paging if CR0.PG=0, but the "if" chain
in x86_cpu_get_phys_page_debug says otherwise. Check CR0.PG
before everything else.
Fixes "-d in_asm" for a code section at the beginning of OVMF.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target-i386/svm.h')
0 files changed, 0 insertions, 0 deletions