[PATCH v2 0/2] KVM: x86: read the PML log in the same order it was written

Maxim Levitsky posted 2 patches 1 year, 1 month ago
arch/x86/kvm/vmx/main.c   |  2 +-
arch/x86/kvm/vmx/nested.c |  2 +-
arch/x86/kvm/vmx/vmx.c    | 32 ++++++++++++++++++++------------
arch/x86/kvm/vmx/vmx.h    |  5 ++++-
4 files changed, 26 insertions(+), 15 deletions(-)
[PATCH v2 0/2] KVM: x86: read the PML log in the same order it was written
Posted by Maxim Levitsky 1 year, 1 month ago
Reverse the order in which
the PML log is read to align more closely to the hardware. It should
not affect regular users of the dirty logging but it fixes a unit test
specific assumption in the dirty_log_test dirty-ring mode.

Best regards,
       Maxim Levitsky

Maxim Levitsky (2):
  KVM: VMX: refactor PML terminology
  KVM: VMX: read the PML log in the same order as it was written

 arch/x86/kvm/vmx/main.c   |  2 +-
 arch/x86/kvm/vmx/nested.c |  2 +-
 arch/x86/kvm/vmx/vmx.c    | 32 ++++++++++++++++++++------------
 arch/x86/kvm/vmx/vmx.h    |  5 ++++-
 4 files changed, 26 insertions(+), 15 deletions(-)

-- 
2.26.3

Re: [PATCH v2 0/2] KVM: x86: read the PML log in the same order it was written
Posted by Sean Christopherson 1 year ago
On Thu, 19 Dec 2024 17:10:32 -0500, Maxim Levitsky wrote:
> Reverse the order in which
> the PML log is read to align more closely to the hardware. It should
> not affect regular users of the dirty logging but it fixes a unit test
> specific assumption in the dirty_log_test dirty-ring mode.
> 
> Best regards,
>        Maxim Levitsky
> 
> [...]

Applied to kvm-x86 vmx, thanks!

[1/2] KVM: VMX: refactor PML terminology
      https://github.com/kvm-x86/linux/commit/ae81ce936ff9
[2/2] KVM: VMX: read the PML log in the same order as it was written
      https://github.com/kvm-x86/linux/commit/37c3ddfe5238

--
https://github.com/kvm-x86/linux/tree/next