Re: [Qemu-devel] Problem translating very high virtual addresses to physical on x86

2018-09-30 Thread Paolo Bonzini
On 28/09/2018 14:28, Aldo Mazzeo wrote: > I was trying to translate a very high virtual address (like > 0x0011) to physical on x86-64 with *paging disabled*. The > problem is that the obtained physical page is 0 because PG_ADDRESS_MASK > is applied to the pte in the virtual to physical

[Qemu-devel] Problem translating very high virtual addresses to physical on x86

2018-09-28 Thread Aldo Mazzeo
I was trying to translate a very high virtual address (like 0x0011) to physical on x86-64 with *paging disabled*. The problem is that the obtained physical page is 0 because PG_ADDRESS_MASK is applied to the pte in the virtual to physical to translation (see target/i386/helper.c:842 in