lkml.org 
[lkml]   [2023]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[PATCH 0/4] KVM: selftests: ioctl() macro cleanups
From
Do some minor housekeeping on the ioctl() macros, and then teach them
to detect and report when an ioctl() unexpectedly fails because KVM has
killed and/or bugged the VM.

Note, I'm 50/50 on whether or not the ARM patch is worthwhile, though I
spent a stupid amount of time on it (don't ask), so darn it I'm at least
posting it.

Oh, and the To: will probably show up funky, but I'd like to take this
through kvm-x86/selftests, not the ARM tree.

Thanks!

Sean Christopherson (4):
KVM: selftests: Drop the single-underscore ioctl() helpers
KVM: selftests: Add helper macros for ioctl()s that return file
descriptors
KVM: selftests: Use asserting kvm_ioctl() macros when getting ARM page
sizes
KVM: selftests: Add logic to detect if ioctl() failed because VM was
killed

.../selftests/kvm/include/kvm_util_base.h | 101 ++++++++++++------
.../selftests/kvm/lib/aarch64/processor.c | 18 ++--
tools/testing/selftests/kvm/lib/kvm_util.c | 17 +--
3 files changed, 84 insertions(+), 52 deletions(-)


base-commit: 240f736891887939571854bd6d734b6c9291f22e
--
2.41.0.585.gd2178a4bd4-goog

\
 
 \ /
  Last update: 2023-08-04 02:44    [W:0.060 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site