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

From: Paolo Bonzini
Date: Wed Sep 29 2021 - 08:56:03 EST


On 29/09/21 19:51, Yu Zhang wrote:
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(-)


Queued, thanks.

Paolo