linux/arch/x86/kvm/svm
Sean Christopherson 99840a7545 KVM: SVM: Connect 'npt' module param to KVM's internal 'npt_enabled'
Directly connect the 'npt' param to the 'npt_enabled' variable so that
runtime adjustments to npt_enabled are reflected in sysfs.  Move the
!PAE restriction to a runtime check to ensure NPT is forced off if the
host is using 2-level paging, and add a comment explicitly stating why
NPT requires a 64-bit kernel or a kernel with PAE enabled.

Opportunistically switch the param to octal permissions.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210305021637.3768573-1-seanjc@google.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-03-05 08:33:15 -05:00
..
avic.c KVM: SVM: Move AVIC vCPU kicking snippet to helper function 2021-02-09 08:17:06 -05:00
nested.c KVM: nSVM: prepare guest save area while is_guest_mode is true 2021-02-22 13:11:56 -05:00
pmu.c KVM: x86/pmu: Tweak kvm_pmu_get_msr to pass 'struct msr_data' in 2020-06-01 04:26:08 -04:00
sev.c KVM: SVM: use .prepare_guest_switch() to handle CPU register save/setup 2021-02-04 05:27:35 -05:00
svm_ops.h KVM: SVM: use vmsave/vmload for saving/restoring additional host state 2021-02-04 05:27:34 -05:00
svm.c KVM: SVM: Connect 'npt' module param to KVM's internal 'npt_enabled' 2021-03-05 08:33:15 -05:00
svm.h KVM: SVM: use .prepare_guest_switch() to handle CPU register save/setup 2021-02-04 05:27:35 -05:00
vmenter.S KVM: SVM: Provide an updated VMRUN invocation for SEV-ES guests 2020-12-15 05:20:59 -05:00