On 7/30/24 9:24 AM, 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 kernel. This is fixed with commit: commit 7816e58967d0 ("kvm: s390: Reject memory region operations for ucontrol VMs")
Reviewed-by: Janosch Frank <frankja@xxxxxxxxxxxxx>