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(-)