On 22/12/16 08:37, Jan Beulich wrote:
Instead of checking cpu_has_vmx_vmfunc inside the hook, use it to
determine whether to install the hook in the first place.

Signed-off-by: Jan Beulich <jbeul...@suse.com>

I am not so sure about this.

vmfunc is reachable in the instruction emulator on hardware which doesn't support vmfunc, and there is explicit provision for using vmfunc 0 via hypercall on hardware lacking vmfunc support.

Given that the #VE part of altp2m is always emulated architecturally, I think there is an argument to be made for also emulating EPTP switching architecturally as well.

~Andrew

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

Reply via email to