Add logic required to detect if shadow-vmcs is supported by the
processor. Introduce a new kernel module parameter to specify if L0 should use
shadow vmcs (or not) to run L1.
Signed-off-by: Abel Gordon
---
arch/x86/kvm/vmx.c | 25 -
1 file changed, 24 insertions(+), 1 d
Gleb Natapov wrote on 17/04/2013 04:51:16 PM:
> > +static inline bool cpu_has_vmx_shadow_vmcs(void)
> > +{
> > + u64 vmx_msr;
> > + rdmsrl(MSR_IA32_VMX_MISC, vmx_msr);
> > + /* check if the cpu supports writing r/o exit information fields */
> > + if (!(vmx_msr & (1u << 29)))
> I think
On Wed, Apr 17, 2013 at 02:51:40PM +0300, Abel Gordon wrote:
> Add logic required to detect if shadow-vmcs is supported by the
> processor. Introduce a new kernel module parameter to specify if L0 should use
> shadow vmcs (or not) to run L1.
>
> Signed-off-by: Abel Gordon
> ---
> arch/x86/kvm/vm
Add logic required to detect if shadow-vmcs is supported by the
processor. Introduce a new kernel module parameter to specify if L0 should use
shadow vmcs (or not) to run L1.
Signed-off-by: Abel Gordon
---
arch/x86/kvm/vmx.c | 25 -
1 file changed, 24 insertions(+), 1 d