Hello Tamas,p2m_get_hostp2m is only defined in the next patch (#9), therefore this patch won't compile.
On 01/09/14 10:22, Tamas K Lengyel wrote:
Signed-off-by: Tamas K Lengyel <tklengyel@sec.in.tum.de>
---
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);
Regards,
--
Julien Grall