Skip to content

Fix error handling for async_pf

Christian Borntraeger kvm linux-s390 2 versions Applied

Status from this message: Applied to kvm-x86 generic, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesApplied
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- !npages instead of npages == 0 (Sean)
- new block comment (Sean)
- fix testcase to build with 7.3 and 7.4-rc

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: Set up async page faults only for faults that need to waitvirt/kvm/kvm_main.c+2 -11 reply
2/2KVM: selftests: Test that KVM_RUN fails for unresolvable host faultstools/testing/selftests/kvm/Makefile.kvm tools/testing/selftests/kvm/faultin_sigbus_test.c+170 -07 replies

Reviews trailers per patch

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

PatchSean Christopherson
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 v2 thread

Cover letter [PATCH v2 0/2] Fix error handling for async_pf

Return mapping errors also for async_pf cases. Otherwise guests will loop forever. Nothing critical just missing error handling.

v1->v2:
- !npages instead of npages == 0 (Sean)
- new block comment (Sean)
- fix testcase to build with 7.3 and 7.4-rc

Christian Borntraeger (2):
KVM: Set up async page faults only for faults that need to wait
KVM: selftests: Test that KVM_RUN fails for unresolvable host faults

 tools/testing/selftests/kvm/Makefile.kvm      |   1 +
 .../selftests/kvm/faultin_sigbus_test.c       | 169 ++++++++++++++++++
 virt/kvm/kvm_main.c                           |   3 +-
 3 files changed, 172 insertions(+), 1 deletion(-)
 create mode 100644 tools/testing/selftests/kvm/faultin_sigbus_test.c
Signature · 1 line
2.53.0