Message ID | 56744416.8050507@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c index 92df36f..cc14905 100644 --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -2997,6 +2997,9 @@ long do_mmuext_op( if ( (pg_owner = get_pg_owner(foreigndom)) == NULL ) return -ESRCH; + if ( !is_pv_domain(pg_owner) ) + return -EINVAL; + rc = xsm_mmuext_op(XSM_TARGET, d, pg_owner); if ( rc ) {