On 19/01/15 15:36, Jan Beulich wrote:
> @@ -483,7 +482,7 @@ ret_t do_physdev_op(int cmd, XEN_GUEST_H
> ret = -EFAULT;
> if ( copy_from_guest(&apic, arg, 1) != 0 )
> break;
> -ret = xsm_apic(XSM_PRIV, v->domain, cmd);
> +ret = xsm_apic(XSM_PRIV, currd,
... and drop global latching of current, as being needed more than once
only in PHYSDEVOP_set_iobitmap, and not at all in almost all other
cases.
Signed-off-by: Jan Beulich
--- a/xen/arch/x86/physdev.c
+++ b/xen/arch/x86/physdev.c
@@ -291,7 +291,7 @@ ret_t do_physdev_op(int cmd, XEN_GUEST_H
{