Skip to content

KVM: x86: Revert SLOT_ZAP_ALL quirk

Sean Christopherson kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Revert "KVM: selftests: Test memslot move in memslot_perf_test with quirk disabled"tools/testing/selftests/kvm/memslot_perf_test.c+1 -110 replies
2/4Revert "KVM: selftests: Allow slot modification stress test with quirk disabled"tools/testing/selftests/kvm/memslot_modification_stress_test.c+2 -170 replies
3/4Revert "KVM: selftests: Test slot move/delete with slot zap quirk enabled/disabled"tools/testing/selftests/kvm/set_memory_region_test.c+8 -210 replies
4/4Revert "KVM: x86/mmu: Introduce a quirk to control memslot zap behavior"Documentation/virt/kvm/api.rst arch/x86/include/asm/kvm_host.h arch/x86/include/uapi/asm/kvm.h +1 more+2 -440 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] KVM: x86: Revert SLOT_ZAP_ALL quirk

Revert the entire KVM_X86_QUIRK_SLOT_ZAP_ALL series, as the code is buggy for shadow MMUs, and I'm not convinced a quirk is actually the right way forward. I'm not totally opposed to it (obviously, given that I suggested it at one point), but I would prefer to give ourselves ample time to sort out exactly how we want to move forward, i.e. not rush something in to unhose v6.12.

Sean Christopherson (4):
Revert "KVM: selftests: Test memslot move in memslot_perf_test with
quirk disabled"
Revert "KVM: selftests: Allow slot modification stress test with quirk
disabled"
Revert "KVM: selftests: Test slot move/delete with slot zap quirk
enabled/disabled"
Revert "KVM: x86/mmu: Introduce a quirk to control memslot zap
behavior"

 Documentation/virt/kvm/api.rst                |  8 -----
 arch/x86/include/asm/kvm_host.h               |  3 +-
 arch/x86/include/uapi/asm/kvm.h               |  1 -
 arch/x86/kvm/mmu/mmu.c                        | 34 +------------------
 .../kvm/memslot_modification_stress_test.c    | 19 ++---------
 .../testing/selftests/kvm/memslot_perf_test.c | 12 +------
 .../selftests/kvm/set_memory_region_test.c    | 29 +++++-----------
 7 files changed, 13 insertions(+), 93 deletions(-)

base-commit: 3f8df6285271d9d8f17d733433e5213a63b83a0b

Signature · 1 line
2.46.1.824.gd892dcdcdd-goog