From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v3 09/15] xen/arm: Add set access required domctl Date: Mon, 01 Sep 2014 15:10:56 -0400 Message-ID: <5404C4C0.200@linaro.org> References: <1409581329-2607-1-git-send-email-tklengyel@sec.in.tum.de> <1409581329-2607-10-git-send-email-tklengyel@sec.in.tum.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1409581329-2607-10-git-send-email-tklengyel@sec.in.tum.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tamas K Lengyel , xen-devel@lists.xen.org Cc: ian.campbell@citrix.com, tim@xen.org, ian.jackson@eu.citrix.com, stefano.stabellini@citrix.com, andres@lagarcavilla.org, jbeulich@suse.com, dgdegra@tycho.nsa.gov List-Id: xen-devel@lists.xenproject.org Hello Tamas, On 01/09/14 10:22, Tamas K Lengyel wrote: > Signed-off-by: Tamas K Lengyel > --- > xen/arch/arm/domctl.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/xen/arch/arm/domctl.c b/xen/arch/arm/domctl.c > index 45974e7..7cf719c 100644 > --- a/xen/arch/arm/domctl.c > +++ b/xen/arch/arm/domctl.c > @@ -31,6 +31,19 @@ long arch_do_domctl(struct xen_domctl *domctl, struct domain *d, > return p2m_cache_flush(d, s, e); > } > > + case XEN_DOMCTL_set_access_required: > + { > + struct p2m_domain* p2m; > + > + if ( current->domain == d ) > + return -EPERM; > + > + p2m = p2m_get_hostp2m(d); p2m_get_hostp2m is only defined in the next patch (#9), therefore this patch won't compile. Regards, -- Julien Grall