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 /qemu-io.c | |
| parent | 2d1fe1873a984d1c2c89ffa3d12949cafc718551 (diff) | |
| download | focaccia-qemu-f2f8560c7a5303065a2a3207ec475dfb3a622a0e.tar.gz focaccia-qemu-f2f8560c7a5303065a2a3207ec475dfb3a622a0e.zip | |
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 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions