]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: s390: fix memory slot handling for KVM_SET_USER_MEMORY_REGION
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 24 May 2019 14:06:23 +0000 (16:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Jun 2019 06:18:23 +0000 (08:18 +0200)
commitce391e4cdef813a1f93aa8d3dcf039fb3b723138
treec2bdc1fbe5b16569fd818c074d0148a800643c2d
parenta1b9c6b4cba0e8ee069670e0185026859b6df361
KVM: s390: fix memory slot handling for KVM_SET_USER_MEMORY_REGION

[ Upstream commit 19ec166c3f39fe1d3789888a74cc95544ac266d4 ]

kselftests exposed a problem in the s390 handling for memory slots.
Right now we only do proper memory slot handling for creation of new
memory slots. Neither MOVE, nor DELETION are handled properly. Let us
implement those.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/s390/kvm/kvm-s390.c