Re: [PATCH v2 2/4] x86/vmware: Add a header file for hypercall definitions

From: Borislav Petkov
Date: Tue Aug 27 2019 - 09:10:38 EST

On Fri, Aug 23, 2019 at 10:13:14AM +0200, Thomas HellstrÃm (VMware) wrote:
> From: Thomas Hellstrom <thellstrom@xxxxxxxxxx>
> The new header is intended to be used by drivers using the backdoor.
> Follow the kvm example using alternatives self-patching to
> choose between vmcall, vmmcall and io instructions.
> Also define two new CPU feature flags to indicate hypervisor support
> for vmcall- and vmmcall instructions.

I could use some of the explanation why we need two feature flags added
here from:



Good mailing practices for 400: avoid top-posting and trim the reply.