Message ID | 20240807154512.316936-1-schlameuss@linux.ibm.com (mailing list archive) |
---|---|
Headers | show |
Series | selftests: kvm: s390: Add s390x ucontrol selftests | expand |
On 8/7/24 5:45 PM, Christoph Schlameuss wrote: > This patch series adds a selftest suite to validate the s390x > architecture specific ucontrol KVM interface. > > When creating a VM on s390x it is possible to create it as userspace > controlled VM or in short ucontrol VM. > These VMs delegates the management of the VM to userspace instead > of handling most events within the kernel. Consequently the userspace > has to manage interrupts, memory allocation etc. > > Before this patch set this functionality lacks any public test cases. > It is desirable to add test cases for this interface to be able to > reduce the risk of breaking changes in the future. > > In order to provision a ucontrol VM the kernel needs to be compiled with > the CONFIG_KVM_S390_UCONTROL enabled. The users with sys_admin capability > can then create a new ucontrol VM providing the KVM_VM_S390_UCONTROL > parameter to the KVM_CREATE_VM ioctl. > > The kernels existing selftest helper functions can only be partially be > reused for these tests. I've picked up patches #1-6 and 10 to get some testing in and make the series smaller.