Re: [Xen-devel] [PATCH] x86/emul: Fix the emulation of invlpga

2018-02-05 Thread Jan Beulich
>>> On 05.02.18 at 11:38, wrote: > The instruction requires EFER.SVME set to be usable in the first place. > > Furthermore, the emulation doesn't handle ASIDs, so avoid giving the > impression that they work. Permit ASID 0 which is reserved for non-root > mode (in which case the instruction is i

[Xen-devel] [PATCH] x86/emul: Fix the emulation of invlpga

2018-02-05 Thread Andrew Cooper
The instruction requires EFER.SVME set to be usable in the first place. Furthermore, the emulation doesn't handle ASIDs, so avoid giving the impression that they work. Permit ASID 0 which is reserved for non-root mode (in which case the instruction is identical to invlpg), but raise #UD for any o