]> git.ipfire.org Git - people/arne_f/kernel.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>
Wed, 19 Jun 2019 06:20:58 +0000 (08:20 +0200)
commit4739012890395a463e6a7439d552367704baefbf
tree7b79ee7fc4c43d9cabfbc8ea3dd98edc7b7979bc
parent891bd1a93eeecc0faa34b5928676b6db4daecf61
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