]> git.baikalelectronics.ru Git - 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)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 May 2019 19:27:14 +0000 (21:27 +0200)
commit8f9e6c91616ce72fa13fc4ce2abce25ee9a56eaf
treee2605e8deec6c7f90081d063ab4491ba1202dc1f
parent645d16e2a188d0abbc4233c32bf035af1ca816d3
KVM: s390: fix memory slot handling for KVM_SET_USER_MEMORY_REGION

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>
arch/s390/kvm/kvm-s390.c