[Kimchi-devel] [PATCH 0/3 - v2] Checks memory alignment to 256 MiB and number of slots in PPC

Daniel Henrique Barboza dhbarboza82 at gmail.com
Tue Nov 17 17:12:21 UTC 2015


The patchset does not apply in current kimchi master but I believe
you'll rebase it for v3 anyway.

As far as I've tested the patchset (fixing the conflicts and so on), it
works in IBM Powerkvm running in pSeries, with no additional unit
tests breaking (in fact it solved some errors there \o/ ).


I'll test again when you send the v3.


Daniel

On 11/12/2015 11:42 PM, Rodrigo Trujillo wrote:
> V2:
> - Created global variable to hold PPC Memory aligment value: 256 currently
> - Fix missing platform import
> - Changed mathematical operators by bitwise operators when manipulate memory
>    values
>
>
> V1:
> This patchset makes necessary changes to check and change in PPC:
> - memory and maxMemory must be aligned to 256 MiB
> - Number of slots must be <= 32
>
> Rodrigo Trujillo (3):
>    Check memory alignment in PowerPC to 256MiB
>    Check and align number of memory slot to 32 in PowerPC
>    Change memory multipliers/divisors by bitwise operators
>
>   src/wok/plugins/kimchi/i18n.py                     |  3 ++
>   src/wok/plugins/kimchi/model/vms.py                | 38 ++++++++++++++++++++--
>   src/wok/plugins/kimchi/osinfo.py                   |  7 ++++
>   src/wok/plugins/kimchi/tests/test_livemigration.py |  2 +-
>   src/wok/plugins/kimchi/vmtemplate.py               |  8 ++++-
>   5 files changed, 54 insertions(+), 4 deletions(-)
>




More information about the Kimchi-devel mailing list