spapr: Fix ibm,lrdr-capacity
commita110655a068d4b98495115ff0f8405235d845272
authorBharata B Rao <bharata@linux.vnet.ibm.com>
Wed, 6 Apr 2016 05:06:06 +0000 (6 10:36 +0530)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 8 Apr 2016 01:18:10 +0000 (8 11:18 +1000)
tree1e7f6d30c59efbc4ed6787d3659ac71674dd73a2
parentead5268f2166101f7dde70598c9f538a90afd8ee
spapr: Fix ibm,lrdr-capacity

ibm,lrdr-capacity has a field to describe the maximum address in bytes
and therefore, the most memory that can be allocated to this guest. We
are using maxmem for this field, but instead should use the actual RAM
address corresponding to the end of hotplug region.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_rtas.c