mbox series

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

Message ID 20241219221034.903927-1-mlevitsk@redhat.com
Headers show
Series KVM: x86: read the PML log in the same order it was written | expand

Message

Maxim Levitsky Dec. 19, 2024, 10:10 p.m. UTC
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(-)