Skip to content

KVM: x86: Fix dirty logging of emulated atomics

Sean Christopherson kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: x86: Mark target gfn of emulated atomic instruction as dirtyarch/x86/kvm/x86.c+10 -05 replies
2/2KVM: selftests: Test forced instruction emulation in dirty log test (x86 only)tools/testing/selftests/kvm/dirty_log_test.c+33 -38 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJim Mattson
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: x86: Fix dirty logging of emulated atomics

Fix a bug in KVM's emulator where the target page of an atomic write isn't marked dirty, and enhance the dirty_log_test selftest to serve as a regression test by conditionally doing forced emulation of guest writes.

Note, the selftest depends on several patches that are sitting in kvm-x86 pmu, so I'll likely take the selftest through that branch (eww).

Sean Christopherson (2):
KVM: x86: Mark target gfn of emulated atomic instruction as dirty
KVM: selftests: Test forced instruction emulation in dirty log test

    (x86 only)
 arch/x86/kvm/x86.c                           | 10 ++++++
 tools/testing/selftests/kvm/dirty_log_test.c | 36 ++++++++++++++++++--
 2 files changed, 43 insertions(+), 3 deletions(-)

base-commit: 7455665a3521aa7b56245c0a2810f748adc5fdd4

Signature · 1 line
2.43.0.687.g38aa6559b0-goog