Re: [Xen-devel] [PATCH] xen: don't use privcmd_call() from xen_mc_flush()

From: Jan Beulich
Date: Wed Jun 13 2018 - 06:05:41 EST


>>> On 13.06.18 at 11:58, <jgross@xxxxxxxx> wrote:
> Using privcmd_call() for a singleton multicall seems to be wrong, as
> privcmd_call() is using stac()/clac() to enable hypervisor access to
> Linux user space.
>
> Add a new xen_single_call() function to be use for that purpose.
>
> Reported-by: Jan Beulich <jbeulich@xxxxxxxx>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>