[elbe-devel] [PATCH v2 0/8] allow configuration of initvm memory
Manuel Traut
manuel.traut at linutronix.de
Wed May 9 16:06:29 CEST 2018
Hi Torben,
On Tue, May 08, 2018 at 05:10:38PM +0200, Torben Hohn wrote:
>
> 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>
thanks for the rework!
All got a reviewed-by and will be merged in devel/elbe-3.0.
I opened a github issue about the crappy documenation:
https://github.com/Linutronix/elbe/issues/160
Manuel
> 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
>
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
More information about the elbe-devel
mailing list