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

Rodrigo Trujillo rodrigo.trujillo at linux.vnet.ibm.com
Fri Nov 13 01:42:52 UTC 2015


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(-)

-- 
2.1.0




More information about the Kimchi-devel mailing list