[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-i386: fix disassembly with PAE=1, PG=0
From: |
Max Filippov |
Subject: |
Re: [Qemu-devel] [PATCH] target-i386: fix disassembly with PAE=1, PG=0 |
Date: |
Fri, 30 Aug 2013 22:03:11 +0400 |
On Fri, Aug 30, 2013 at 1:58 PM, Paolo Bonzini <address@hidden> wrote:
> 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.
>
> Cc: Richard Henderson <address@hidden>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> target-i386/helper.c | 34 ++++++++++++++++------------------
> 1 file changed, 16 insertions(+), 18 deletions(-)
Hmmm, déjà vu:
http://lists.gnu.org/archive/html/qemu-devel/2012-11/msg01635.html
Reviewed-by: Max Filippov <address@hidden>
--
Thanks.
-- Max