[PATCH v2 0/2] Cleanups for pointer usages in nVMX.

From: Yu Zhang
Date: Wed Sep 29 2021 - 06:12:19 EST


Replace usages of "-1ull" with INVALID_GPA. And reset the vmxon_ptr
when emulating vmxoff.

v2:
Added patch to replace usages of "-1ull" with INVALID_GPA.

Vitaly Kuznetsov (1):
KVM: nVMX: Reset vmxon_ptr upon VMXOFF emulation.

Yu Zhang (1):
KVM: nVMX: Use INVALID_GPA for pointers used in nVMX.

arch/x86/kvm/vmx/nested.c | 61 ++++++++++++++++++++-------------------
arch/x86/kvm/vmx/vmx.c | 5 ++--
2 files changed, 34 insertions(+), 32 deletions(-)

--
2.25.1