]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: s390: selftests: fix ucontrol memory region test
authorClaudio Imbrenda <imbrenda@linux.ibm.com>
Thu, 23 Jan 2025 14:46:16 +0000 (15:46 +0100)
committerClaudio Imbrenda <imbrenda@linux.ibm.com>
Fri, 31 Jan 2025 11:03:52 +0000 (12:03 +0100)
commit63e71519891024b622d00c486c4d0348c44ca911
treebfe1874446091f205a1a7f6328734361fc66eb10
parent413c98f24c63b3b8aff202fce6f01e8950730511
KVM: s390: selftests: fix ucontrol memory region test

With the latest patch, attempting to create a memslot from userspace
will result in an EEXIST error for UCONTROL VMs, instead of EINVAL,
since the new memslot will collide with the internal memslot. There is
no simple way to bring back the previous behaviour.

This is not a problem, but the test needs to be fixed accordingly.

Reviewed-by: Christoph Schlameuss <schlameuss@linux.ibm.com>
Link: https://lore.kernel.org/r/20250123144627.312456-5-imbrenda@linux.ibm.com
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-ID: <20250123144627.312456-5-imbrenda@linux.ibm.com>
tools/testing/selftests/kvm/s390/ucontrol_test.c