Skip to content

KVM: x86: Rep string I/O WARN removal and test

Sean Christopherson kvm lkml 1 version Applied

Status from this message: Queued now, thanks. I don't know if I want the honor of having KVM singled out again on the -rc release message, but these are bugs nevertheless...

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: x86: Don't WARN if userspace mucks with RCX during string I/O exitarch/x86/kvm/x86.c+7 -20 replies
2/2KVM: selftests: Add test to verify KVM doesn't explode on "bad" I/Otools/testing/selftests/kvm/.gitignore tools/testing/selftests/kvm/Makefile tools/testing/selftests/kvm/x86_64/userspace_io_test.c+116 -00 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/2] KVM: x86: Rep string I/O WARN removal and test

Remove a WARN that was added as part of the recent I/O overhaul to play nice with SEV-ES string I/O.

For the record, my FIXME in lieu of a WARN was deliberate, as I suspected userspace could trigger a WARN ;-)

Based on kvm/master, commit 95e16b4792b0 ("KVM: SEV-ES: go over the sev_pio_data buffer in multiple passes if needed").

Sean Christopherson (2):
KVM: x86: Don't WARN if userspace mucks with RCX during string I/O
exit
KVM: selftests: Add test to verify KVM doesn't explode on "bad" I/O

 arch/x86/kvm/x86.c                            |   9 +-
 tools/testing/selftests/kvm/.gitignore        |   1 +
 tools/testing/selftests/kvm/Makefile          |   1 +
 .../selftests/kvm/x86_64/userspace_io_test.c  | 114 ++++++++++++++++++
 4 files changed, 123 insertions(+), 2 deletions(-)
 create mode 100644 tools/testing/selftests/kvm/x86_64/userspace_io_test.c
Signature · 1 line
2.33.0.1079.g6e70778dc9-goog