Re: [PATCH v1 9/9] selftests: kvm: s390: Verify reject memory region operations for ucontrol VMs

2024-07-09 Thread Claudio Imbrenda
On Tue, 9 Jul 2024 14:57:04 +0200 Christoph Schlameuss wrote: > Add a test case verifying KVM_SET_USER_MEMORY_REGION and > KVM_SET_USER_MEMORY_REGION2 cannot be executed on ucontrol VMs. > > Executing this test case on not patched kernels will cause a null > pointer dereference in the host kern

[PATCH v1 9/9] selftests: kvm: s390: Verify reject memory region operations for ucontrol VMs

2024-07-09 Thread Christoph Schlameuss
Add a test case verifying KVM_SET_USER_MEMORY_REGION and KVM_SET_USER_MEMORY_REGION2 cannot be executed on ucontrol VMs. Executing this test case on not patched kernels will cause a null pointer dereference in the host kernel. Signed-off-by: Christoph Schlameuss --- .../selftests/kvm/s390x/ucon