From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [RFC PATCH 3/3] tools, libxl: handle the iomem parameter with the memory_mapping hcall Date: Fri, 07 Mar 2014 12:03:30 +0800 Message-ID: <53194512.9060804@linaro.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53191695.4050301@gmail.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: Arianna Avanzini , 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 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? 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. Regards, -- Julien Grall