[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 06/19] xen: use XSM instead of IS_PRIV where duplicated



>>> On 16.11.12 at 19:28, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> wrote:
> @@ -467,8 +451,8 @@ ret_t do_physdev_op(int cmd, XEN_GUEST_HANDLE_PARAM(void) 
> arg)
>          if ( copy_from_guest(&irq_op, arg, 1) != 0 )
>              break;
>  
> -        ret = -EPERM;
> -        if ( !IS_PRIV(v->domain) )
> +        ret = xsm_apic(v->domain, cmd);

Is that the right hook? There's nothing APIC related here.

Jan

> +        if ( ret )
>              break;
>  
>          /* Vector is only used by hypervisor, and dom0 shouldn't



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.