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

Rodrigo Trujillo rodrigo.trujillo at linux.vnet.ibm.com
Thu Nov 19 02:52:01 UTC 2015


V3:
- Make modifications asked by Aline
- Rebase with latest master code

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, 52 insertions(+), 6 deletions(-)

-- 
2.1.0




More information about the Kimchi-devel mailing list