James O. D. Hunt
b5ea753ff4
config: Detect if VM memory smaller than image
...
Add a heuristic to ensure the amount of memory allocated to the
hypervisor is bigger than the size of the image.
This catches simple configuration issues where `default_memory=` is set
to a smaller value than the size of either the `image=` or `initrd=`
files.
If the configured image type is `initrd`, fail but only warn in the
logs for `image` as although it seems a highly unlikely scenario, it is
permitted.
Update tests to ensure that created resources have `>0` bytes.
Fixes #636 .
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com >
2018-08-28 16:21:36 +01:00
..
2018-08-20 11:36:21 -07:00
2018-08-28 16:21:36 +01:00
2018-08-28 16:21:36 +01:00
2018-04-17 17:30:44 +01:00
2018-04-17 17:30:44 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-04-17 17:30:44 +01:00
2018-04-17 17:30:44 +01:00
2018-08-10 15:25:00 +01:00
2018-08-22 08:24:58 +01:00
2018-08-10 15:25:00 +01:00
2018-07-25 12:05:47 -04:00
2018-08-10 15:25:00 +01:00
2018-07-25 12:05:47 -04:00
2018-03-15 12:10:52 -06:00
2018-06-21 07:16:17 +00:00
2018-05-31 18:53:37 +05:30
2018-08-10 15:25:00 +01:00
2018-07-25 12:05:47 -04:00
2018-08-10 15:25:00 +01:00
2018-08-22 08:24:58 +01:00
2018-06-21 07:16:17 +00:00
2018-06-21 07:16:17 +00:00
2018-06-21 07:16:17 +00:00
2018-08-28 16:21:36 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-04-17 17:30:44 +01:00
2018-04-17 17:30:44 +01:00
2018-08-10 16:13:48 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-04-26 11:39:20 +01:00
2018-08-10 16:13:48 +01:00
2018-08-10 15:25:00 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-22 08:24:58 +01:00
2018-08-28 16:21:36 +01:00
2018-08-28 16:21:36 +01:00
2018-08-10 15:25:00 +01:00
2018-08-22 08:24:58 +01:00