diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2017-12-15 13:14:31 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2017-12-22 15:22:40 +0100 |
commit | 32aa144fc32abfcbf7140f473dfbd94c5b9b4105 (patch) | |
tree | 313dd1b9cdaaba129be7ef8b640ad375c595a65a /.gitignore | |
parent | ca76ec9ca871e67d8cd0b6caba24aca3d3ac4546 (diff) |
KVM: s390: fix cmma migration for multiple memory slots
When multiple memory slots are present the cmma migration code
does not allocate enough memory for the bitmap. The memory slots
are sorted in reverse order, so we must use gfn and size of
slot[0] instead of the last one.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Cc: stable@vger.kernel.org # 4.13+
Fixes: 190df4a212a7 (KVM: s390: CMMA tracking, ESSA emulation, migration mode)
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions