Re: [Xen-devel] xc_domain_maximum_gpfn

2016-06-28 Thread Julien Grall
Hello, On 27/06/16 14:31, sepanta s wrote: On Sun, Jun 26, 2016 at 5:19 PM, sepanta s mailto:sapanta...@gmail.com>> wrote: Hi, what exactly does this module do? sorry, not module but the function. The function xc_domain_maximum_gpfn returns the highest frame that has ever been map

Re: [Xen-devel] xc_domain_maximum_gpfn

2016-06-27 Thread sepanta s
On Sun, Jun 26, 2016 at 5:19 PM, sepanta s wrote: > Hi, > what exactly does this module do? > sorry, not module but the function. > I have got about 1 million after calling this function for a domain with 1 > Gigabyte ram and page size 4K. If the output of the function is the whole > gfns in a

[Xen-devel] xc_domain_maximum_gpfn

2016-06-26 Thread sepanta s
Hi, what exactly does this module do? I have got about 1 million after calling this function for a domain with 1 Gigabyte ram and page size 4K. If the output of the function is the whole gfns in a domain, shouldn't it be equal with (ram-size)/(page-size) ? Is there any API to get the memory range