From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: PCI Passthrough ARM Design : Draft1 Date: Fri, 26 Jun 2015 13:41:08 +0100 Message-ID: <1435322468.32500.184.camel@citrix.com> References: <55806109.7040808@caviumnetworks.com> <1434548605.13744.391.camel@citrix.com> <558180C9.9020904@caviumnetworks.com> <1434551364.13744.403.camel@citrix.com> <558BB174.40204@caviumnetworks.com> <1435223510.32500.2.camel@citrix.com> <558BED2D.3080600@caviumnetworks.com> <1435234888.32500.80.camel@citrix.com> <20150625172647.GB2470@x230.dumpdata.com> <558CB3DE.7000004@caviumnetworks.com> <1435303946.17598.41.camel@citrix.com> <558D123D.50205@caviumnetworks.com> <1435309787.32500.151.camel@citrix.com> <558D3E1C.8000304@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <558D3E1C.8000304@caviumnetworks.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Manish Jaggi Cc: Vijay Kilari , Stefano Stabellini , Prasun Kapoor , "Kumar, Vijaya" , "xen-devel@lists.xen.org" , Julien Grall , Stefano Stabellini , "Kulkarni, Ganapatrao" , Roger Pau =?ISO-8859-1?Q?Monn=E9?= List-Id: xen-devel@lists.xenproject.org On Fri, 2015-06-26 at 17:27 +0530, Manish Jaggi wrote: > I still need to implement a domctl xc_domain_query_memory_mapping. If > reserve a memory of > GUEST_MMIO_HOLE_SIZE from GUEST_MMIO_HOLE_ADDR in arch-arm.h xl tools > need some > way to query which range is allocated and which is free in this hole. If it needs this info after the fact then it should stash it somewhere itself, no need for a hypercall to get it back from Xen. You may even be able to use the pciback xenstore nodes which you'll have added anyway, otherwise something specific under the /libxl namespace would seem like the way to go. Ian.