[elbe-devel] [PATCH v2 0/8] allow configuration of initvm memory
Torben Hohn
torben.hohn at linutronix.de
Tue May 8 17:10:38 CEST 2018
Allow configuration of memory used in initvm.
Both DRAM and Swap of initvm can now be configured.
These settings are necessary, to build a qt in an
arm pbuilder inside the initvm.
This patchqueue is tested using elbe init and
verifying the generated files.
Changes since v1:
* use size_to_int() now for unit prefixes
* use rfs:memory as type for <swap-size>
Torben Hohn (8):
dbsfed.xsd: move "mem" field from buildimage to initvm
dbsfed.xsd: change memory_restriction to unit prefixes
dbsfed.xsd: add swap-size element
xmldefaults: add default for swap-size and fixup mem
size_to_int: move size_to_int() from hdimg.py to filesystem.py
init libvirt.xml.mako: specify memsize from xml node initvm/mem
init preseed.cfg.mako: support swap partition
init libvirt.xml.mako: fix defaults to default in imagetype readout
elbepack/filesystem.py | 36 +++++++++++++++++++++++++++++++++++-
elbepack/hdimg.py | 37 +------------------------------------
elbepack/init/libvirt.xml.mako | 5 +++--
elbepack/init/preseed.cfg.mako | 10 +++++++++-
elbepack/xmldefaults.py | 13 ++-----------
schema/dbsfed.xsd | 30 ++++++++++++++++++++----------
6 files changed, 70 insertions(+), 61 deletions(-)
--
2.11.0
More information about the elbe-devel
mailing list