linux/arch/x86/kvm/vmx
Binbin Wu 9c8021d4ae KVM: x86: Remove kvm_vcpu_is_illegal_gpa()
Remove kvm_vcpu_is_illegal_gpa() and use !kvm_vcpu_is_legal_gpa() instead.
The "illegal" helper actually predates the "legal" helper, the only reason
the "illegal" variant wasn't removed by commit 4bda0e9786 ("KVM: x86:
Add a helper to check for a legal GPA") was to avoid code churn.  Now that
CR3 has a dedicated helper, there are fewer callers, and so the code churn
isn't that much of a deterrent.

No functional change intended.

Signed-off-by: Binbin Wu <binbin.wu@linux.intel.com>
Tested-by: Xuelian Guo <xuelian.guo@intel.com>
Link: https://lore.kernel.org/r/20230913124227.12574-8-binbin.wu@linux.intel.com
[sean: provide a bit of history in the changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
2023-11-28 17:54:05 -08:00
..
capabilities.h KVM: VMX: Rename XSAVES control to follow KVM's preferred "ENABLE_XYZ" 2023-08-17 11:38:28 -07:00
hyperv.c KVM: VMX: Rename XSAVES control to follow KVM's preferred "ENABLE_XYZ" 2023-08-17 11:38:28 -07:00
hyperv.h KVM: VMX: Rename "KVM is using eVMCS" static key to match its wrapper 2023-03-14 10:28:58 -04:00
nested.c KVM: x86: Remove kvm_vcpu_is_illegal_gpa() 2023-11-28 17:54:05 -08:00
nested.h KVM: VMX: Rename XSAVES control to follow KVM's preferred "ENABLE_XYZ" 2023-08-17 11:38:28 -07:00
pmu_intel.c KVM: x86/pmu: Truncate counter value to allowed width on write 2023-09-25 14:30:44 -07:00
posted_intr.c x86/apic: Wrap IPI calls into helper functions 2023-08-09 12:00:55 -07:00
posted_intr.h KVM: VMX: enable IPI virtualization 2022-06-08 04:47:37 -04:00
run_flags.h KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS 2022-06-27 10:34:00 +02:00
sgx.c KVM: VMX: Inject #GP, not #UD, if SGX2 ENCLS leafs are unsupported 2023-06-02 10:12:03 -07:00
sgx.h KVM: VMX: Enable SGX virtualization for SGX1, SGX2 and LC 2021-04-20 04:18:56 -04:00
vmcs12.c KVM: x86: Unify pr_fmt to use module name for all KVM modules 2022-12-29 15:47:35 -05:00
vmcs12.h bug: introduce ASSERT_STRUCT_OFFSET 2022-11-09 12:31:16 -05:00
vmcs_shadow_fields.h
vmcs.h KVM: VMX: Handle NMI VM-Exits in noinstr region 2023-01-24 10:36:41 -08:00
vmenter.S KVM: VMX: Make VMREAD error path play nice with noinstr 2023-07-29 11:05:26 -04:00
vmx_ops.h KVM: VMX: Use vmread_error() to report VM-Fail in "goto" path 2023-07-29 11:05:26 -04:00
vmx.c KVM: x86: Remove kvm_vcpu_is_illegal_gpa() 2023-11-28 17:54:05 -08:00
vmx.h KVM: nVMX: Use KVM-governed feature framework to track "nested VMX enabled" 2023-08-17 11:40:55 -07:00