Files
qemu/hw
Christian Borntraeger 336cd382dc s390x/sclp: fix maxram calculation
We clamp down ram_size to match the sclp increment size. We do
not do the same for maxram_size, which means for large guests
with some sizes (e.g. -m 50000) maxram_size differs from ram_size.
This can break other code (e.g. CMMA migration) which uses maxram_size
to calculate the number of pages and then throws some errors.

Fixes: 82fab5c5b9 ("s390x/sclp: remove memory hotplug support")
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
CC: qemu-stable@nongnu.org
CC: David Hildenbrand <david@redhat.com>
Message-Id: <1532959766-53343-1-git-send-email-borntraeger@de.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
(cherry picked from commit 408e5ace51)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2018-07-31 11:27:16 -05:00
..
2018-02-19 18:27:32 +01:00
2017-10-27 16:03:54 +02:00
2018-07-11 11:48:16 -05:00
2018-03-01 11:05:45 +00:00
2018-07-11 11:48:19 -05:00
2018-03-02 13:45:50 -06:00
2018-03-23 18:38:55 +03:00
2018-07-31 11:27:16 -05:00
2018-03-02 13:45:50 -06:00
2018-03-02 13:45:50 -06:00
2018-02-19 13:03:24 +02:00