Re: Memory Layout on Dom0 in PV

2021-04-16 Thread Charles Gonçalves
Thanks @Andrew, A LKM to dump the arch->p2m_vaddr solved the issue and answered my questions! Atenciosamente, *Charles Ferreira Gonçalves * On Fri, Apr 16, 2021 at 4:12 PM Andrew Cooper wrote: > On 16/04/2021 15:58, Charles Gonçalves wrote: > > Hello Guys, > > Does memory on Dom0 also

Re: Memory Layout on Dom0 in PV

2021-04-16 Thread Andrew Cooper
On 16/04/2021 15:58, Charles Gonçalves wrote: > > Hello Guys, > > Does memory on Dom0 also mapped to gpfn or it is mapped directly to mfn?  > >  If mapped to gpfn, how can I access its p2m mapping? > > I'm trying to use the xen-mfndump but it is not working with dom0 > > |./xen-mfndump dump-p2m 0

Memory Layout on Dom0 in PV

2021-04-16 Thread Charles Gonçalves
Hello Guys, Does memory on Dom0 also mapped to gpfn or it is mapped directly to mfn? If mapped to gpfn, how can I access its p2m mapping? I'm trying to use the xen-mfndump but it is not working with dom0 ./xen-mfndump dump-p2m 0 xc: error: Could not map the shared info frame (MFN 0xddfe9) (3