diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2019-12-10 16:25:04 +1100 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2020-03-17 09:41:15 +1100 |
| commit | 9943266ec36fec54367085758cd3ee821696a791 (patch) | |
| tree | b7c303612f69dfd07b1cd6c124ca6ca0182ccbb8 /python/qemu/accel.py | |
| parent | 4c24a87f662a46264dd73f6dd05a4a0c30b2038b (diff) | |
| download | focaccia-qemu-9943266ec36fec54367085758cd3ee821696a791.tar.gz focaccia-qemu-9943266ec36fec54367085758cd3ee821696a791.zip | |
spapr: Don't use weird units for MIN_RMA_SLOF
MIN_RMA_SLOF records the minimum about of RMA that the SLOF firmware requires. It lets us give a meaningful error if the RMA ends up too small, rather than just letting SLOF crash. It's currently stored as a number of megabytes, which is strange for global constants. Move that megabyte scaling into the definition of the constant like most other things use. Change from M to MiB in the associated message while we're at it. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Greg Kurz <groug@kaod.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'python/qemu/accel.py')
0 files changed, 0 insertions, 0 deletions