Re: [PATCH] inmates: v2 assume VMCALL for hypercalls, detect AMD to change

2018-04-16 Thread Jan Kiszka
On 2018-04-16 17:41, Ralf Ramsauer wrote: > On 04/16/2018 05:29 PM, Francois-Frederic Ozog wrote: >> inmates cannot use X86_FEATURE_VMX from regular cpuid >> as vcpu maks the bit explicitely on non-root cells. >> >> use cpuid leaf 0 to detect AuthenticAMD and change to VMMCALL >> >> Signed-off-by:

Re: [PATCH] inmates: v2 assume VMCALL for hypercalls, detect AMD to change

2018-04-16 Thread Ralf Ramsauer
On 04/16/2018 05:29 PM, Francois-Frederic Ozog wrote: > inmates cannot use X86_FEATURE_VMX from regular cpuid > as vcpu maks the bit explicitely on non-root cells. > > use cpuid leaf 0 to detect AuthenticAMD and change to VMMCALL > > Signed-off-by: Francois-Frederic Ozog > --- > inmates/lib/x86