Re: [Xen-devel] [PATCH v7 05/10] xsm: add XEN_DOMCTL_soft_reset support

2015-05-29 Thread Jan Beulich
>>> On 27.05.15 at 17:25, wrote: > +static XSM_INLINE int xsm_soft_reset(XSM_DEFAULT_ARG struct domain *d1, > + struct domain *d2) Hard tabs used here ... > +static inline int xsm_soft_reset (xsm_default_t def, struct domain *d1, > +

Re: [Xen-devel] [PATCH v7 05/10] xsm: add XEN_DOMCTL_soft_reset support

2015-05-27 Thread Daniel De Graaf
On 05/27/2015 11:25 AM, Vitaly Kuznetsov wrote: Dummy policy just checks that the current domain is privileged. In the FLASK policy two new vectors are added to the DOMAIN2 class: soft_reset and reset_transfer. First one is being used to check that the domain making the hypercall is allowed to do