libvirt/src/libxl
Jim Fehlig ef71caeaa8 libxl: round memory values to next 1MiB increment
libxl requires the memory sizes to be rounded to 1MiB increments.
Attempting to start a domain that violates this requirement will
fail with the marginally helpful error

2018-02-22 01:55:32.921+0000: xc: panic: xc_dom_boot.c:141: xc_dom_boot_mem_init: can't allocate low memory for domain: Out of memory
2018-02-22 01:55:32.921+0000: libxl: libxl_dom.c:671:libxl__build_dom: xc_dom_boot_mem_init failed: No such file or directory

Round the maximum and current memory values to the next 1MiB
increment when generating the libxl_domain_config object.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
2018-02-23 15:01:27 -07:00
..
libvirtd_libxl.aug
libxl_capabilities.c cpu: Drop unused parameter from cpuDecode 2017-10-16 09:21:52 +02:00
libxl_capabilities.h
libxl_conf.c libxl: round memory values to next 1MiB increment 2018-02-23 15:01:27 -07:00
libxl_conf.h port allocator: make port range constant object 2018-02-22 13:52:45 +01:00
libxl_domain.c port allocator: remove range check in release function 2018-02-22 13:52:45 +01:00
libxl_domain.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
libxl_driver.c port allocator: drop skip bind check flag 2018-02-22 13:52:45 +01:00
libxl_driver.h
libxl_logger.c
libxl_logger.h
libxl_migration.c port allocator: remove range check in release function 2018-02-22 13:52:45 +01:00
libxl_migration.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
libxl.conf docs: Fix typo deamon -> daemon 2017-09-04 15:07:17 +02:00
Makefile.inc.am make: split libxl driver build rules into libxl/Makefile.inc.am 2018-02-23 13:14:26 +00:00
test_libvirtd_libxl.aug.in