On Fri, Aug 30, 2013 at 1:58 PM, Paolo Bonzini <[email protected]> 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 <[email protected]> > Signed-off-by: Paolo Bonzini <[email protected]> > --- > 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 <[email protected]> -- Thanks. -- Max
