[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v11 05/11] x86/mm: add HYPERVISOR_memory_op to acquire guest resources
>>> On 17.10.17 at 14:28, <Paul.Durrant@xxxxxxxxxx> wrote: >> -----Original Message----- >> >> > --- a/xen/include/xsm/dummy.h >> > +++ b/xen/include/xsm/dummy.h >> > @@ -724,3 +724,9 @@ static XSM_INLINE int xsm_xen_version >> (XSM_DEFAULT_ARG uint32_t op) >> > return xsm_default_action(XSM_PRIV, current->domain, NULL); >> > } >> > } >> > + >> > +static XSM_INLINE int xsm_domain_resource_map(XSM_DEFAULT_ARG >> struct domain *d) >> > +{ >> > + XSM_ASSERT_ACTION(XSM_DM_PRIV); >> > + return xsm_default_action(action, current->domain, d); >> > +} >> >> Perhaps better place this near something similar/related (also for >> some of the other additions further down)? > > Looking at this again it seems that various related things, e.g. > domain_memory_map, are x86 only so adding at the end seems like the best > thing to do. Well, okay then (unless Daniel, whom it looks like you forgot to Cc, has a better suggestion). Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |