linux/arch/x86/kvm/vmx
Sean Christopherson f9b245e182 KVM: nVMX: Remove param indirection from nested_vmx_check_msr_switch()
Passing the enum and doing an indirect lookup is silly when we can
simply pass the field directly.  Remove the "fast path" code in
nested_vmx_check_msr_switch_controls() as it's now nothing more than a
redundant check.

Remove the debug message rather than continue passing the enum for the
address field.  Having debug messages for the MSRs themselves is useful
as MSR legality is a huge space, whereas messing up a physical address
means the VMM is fundamentally broken.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-12-14 18:00:04 +01:00
..
capabilities.h KVM: VMX: Expose various module param vars via capabilities.h 2018-12-14 12:34:29 +01:00
evmcs.c x86/kvm/hyper-v: Introduce nested_get_evmcs_version() helper 2018-12-14 17:59:54 +01:00
evmcs.h x86/kvm/hyper-v: Introduce nested_get_evmcs_version() helper 2018-12-14 17:59:54 +01:00
nested.c KVM: nVMX: Remove param indirection from nested_vmx_check_msr_switch() 2018-12-14 18:00:04 +01:00
nested.h KVM: nVMX: Move nested code to dedicated files 2018-12-14 17:59:46 +01:00
ops.h KVM: VMX: Move VMX instruction wrappers to a dedicated header file 2018-12-14 17:17:27 +01:00
pmu_intel.c
vmcs12.c KVM: nVMX: Move vmcs12 code to dedicated files 2018-12-14 12:34:30 +01:00
vmcs12.h KVM: nVMX: Move vmcs12 code to dedicated files 2018-12-14 12:34:30 +01:00
vmcs_shadow_fields.h KVM: VMX: rename vmx_shadow_fields.h to vmcs_shadow_fields.h 2018-12-14 12:34:24 +01:00
vmcs.h KVM: VMX: Move eVMCS code to dedicated files 2018-12-14 14:00:06 +01:00
vmx.c KVM/VMX: Check ept_pointer before flushing ept tlb 2018-12-14 18:00:02 +01:00
vmx.h KVM: VMX: Expose nested_vmx_allowed() to nested VMX as a non-inline 2018-12-14 17:59:45 +01:00