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: Mon, 03 Mar 2014 23:13:50 +0800 Message-ID: <53149C2E.4000602@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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1393842736.4058.20.camel@Solace> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: 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, Arianna Avanzini , viktor.kleinik@globallogic.com List-Id: xen-devel@lists.xenproject.org On 03/03/14 18:32, Dario Faggioli wrote: > Right. So, just to make sure I understand it correctly, you're saying > that it is fine to have the hypercall implemented and called sort of > like how Arianna is doing it, modulo moving the call outside of common > ARM and x86 code, as Julien pointed out, is this correct? If yes, I > (FWIW) totally concur. :-) I think in both solution, this hypercall should be implemented :). > For the sake of this series, do you think there is something that > Arianna should do, if not to ensure 100% consistency (which is not Xen's > job, in this case) but, perhaps, just to put things on the safe side? > > Right. Again, and sorry for not getting it just from the above, do you > think this is something Arianna should take care of, when reposting the > series, or can/should it be done also later? 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. -- Julien Grall