aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2013-07-26 15:04:03 +0200
committerMister Oyster <oysterized@gmail.com>2017-07-04 11:51:37 +0200
commitcd81bd92fbd18b40b4b03aa1e77f72f234a51155 (patch)
tree60e324b85df8fb3efa4c5a08e7dc3aeb46a8bde3 /include
parente2202483a57d3551e8b3dcaa541f63ddff840898 (diff)
KVM: s390: fix task size check
The gmap_map_segment function uses PGDIR_SIZE in the check for the maximum address in the tasks address space. This incorrectly limits the amount of memory usable for a kvm guest to 4TB. The correct limit is (1UL << 53). As the TASK_SIZE has different values (4TB vs 8PB) dependent on the existance of the fourth page table level, create a new define 'TASK_MAX_SIZE' for (1UL << 53). Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions