|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH RESEND v5 2/6] xen/arm: Implement get_maximum_gpfn hypercall for arm
15.11.2013 11:04, Eugene Fedotov wrote: No, it is another hypercall XEN_DOMCTL_getdomaininfo. max_memkb field in xc_dominfo_t structure is a second way to retrieve maximum memory size and calculate PFN. Do we need domain_get_maximum_gpfn ?13.11.2013 14:58, Ian Campbell wrote:On Wed, 2013-11-13 at 12:28 +0400, Eugene Fedotov wrote:Is there an interface to retrieve that? I don't see it :-(diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c index 123280e..3801f07 100644 --- a/xen/arch/arm/mm.c +++ b/xen/arch/arm/mm.c@@ -927,7 +927,11 @@ int page_is_ram_type(unsigned long mfn, unsigned long mem_type) In addition to this question I need to ask why we need xen_pfn_t (that is always 64 bit on Xen-arm) for physical memory PFN. Currently the following libxc proxies for DOMCTL: xc_domain_setmaxmem and max_memkb field in xc_domain_getinfo() are working with unsigned long max_mem_kb parameter (that is 32 bit for ARM32) In case if 64 bit PFN is needed, xen_pfn_t returning hypercall looks like better then xc_domain_getinfo() . Best regards, Evgeny. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |