From 7424142bb878ff52bdf44be2d93543815c9ddb5a Mon Sep 17 00:00:00 2001 From: Dmitry Voytik Date: Tue, 4 Aug 2015 10:43:03 +0200 Subject: [PATCH] tools: add hint how to change kernel cmd line Add hint how to modify kernel command line when memmap reservation is less than needed. Signed-off-by: Dmitry Voytik Signed-off-by: Jan Kiszka --- tools/jailhouse-config-create | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/jailhouse-config-create b/tools/jailhouse-config-create index 1fc1f6d..3e65315 100755 --- a/tools/jailhouse-config-create +++ b/tools/jailhouse-config-create @@ -1023,7 +1023,8 @@ if ourmem is None: ourmem = alloc_mem(regions, total) elif (total > ourmem[1]): raise RuntimeError('Your memmap reservation is too small you need >="' + - hex(total) + '"') + hex(total) + '". Hint: your kernel cmd line needs ' + '"memmap=' + hex(total) + '$' + hex(ourmem[0]) + '"') hvmem[0] = ourmem[0] -- 2.39.2