From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arianna Avanzini Subject: Re: [RFC PATCH 3/3] tools, libxl: handle the iomem parameter with the memory_mapping hcall Date: Fri, 07 Mar 2014 20:54:12 +0100 Message-ID: <531A23E4.3000209@gmail.com> References: <1393721365-22458-1-git-send-email-avanzini.arianna@gmail.com> <1393721365-22458-4-git-send-email-avanzini.arianna@gmail.com> <531308FD.8070007@linaro.org> <1393759633.19684.39.camel@hastur.hellion.org.uk> <1393842736.4058.20.camel@Solace> <53149C2E.4000602@linaro.org> <53191695.4050301@gmail.com> <53194512.9060804@linaro.org> Reply-To: Arianna Avanzini Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53194512.9060804@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall , Dario Faggioli , Ian Campbell Cc: paolo.valente@unimore.it, stefano.stabellini@eu.citrix.com, Ian Jackson , xen-devel@lists.xen.org, julien.grall@citrix.com, etrudeau@broadcom.com, viktor.kleinik@globallogic.com List-Id: xen-devel@lists.xenproject.org On 03/07/2014 05:03 AM, Julien Grall wrote: > Hello Arianna, > > On 07/03/14 08:45, Arianna Avanzini wrote: >>> >>> I think Arianna solution's might not work if the 1:1 mapping clash with existing >>> layout. I might help Arianna on this subject because it will be useful to >>> passthrough a device to the guest. >>> >> >> Sorry for the delay and for bothering you with another question. In order to >> ensure that the 1:1 mapping of a new range of I/O memory does not clash with the >> existing layout, we should then check that nothing else has been mapped to that >> address range in the domU's address space? > > I think checking is not the right solution, what will you do if the range is > effectively clash to another one? > Right, sorry. > On a previous mail (see > http://lists.xenproject.org/archives/html/xen-devel/2014-03/msg00036.html), Ian > has proposed to exposed the layout of the host to the guest. That will allow you > to map the memory in 1:1. > > I will need this item for device passthrough soon. I can take care of this item > if you want. > OK, thank you again for replying and making this clear. > Regards, > -- /* * Arianna Avanzini * avanzini.arianna@gmail.com * 73628@studenti.unimore.it */