diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2019-11-29 11:49:04 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2020-03-17 15:08:47 +1100 |
commit | 425f0b7adb8773d6989abcf3cb19bf0bcab9e07e (patch) | |
tree | cb370626d19baaf8ea9d3bbd6ee03a92ee893ddd /hw/scsi | |
parent | 1052ab67f4c10ea8961bf1a523b764b19bff1997 (diff) | |
download | qemu-425f0b7adb8773d6989abcf3cb19bf0bcab9e07e.zip qemu-425f0b7adb8773d6989abcf3cb19bf0bcab9e07e.tar.gz qemu-425f0b7adb8773d6989abcf3cb19bf0bcab9e07e.tar.bz2 |
spapr: Clean up RMA size calculation
Move the calculation of the Real Mode Area (RMA) size into a helper
function. While we're there clean it up and correct it in a few ways:
* Add comments making it clearer where the various constraints come from
* Remove a pointless check that the RMA fits within Node 0 (we've just
clamped it so that it does)
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'hw/scsi')
0 files changed, 0 insertions, 0 deletions