This commit explains that on GRUB2 three characters are needed for
escaping the dollar sign in the memmap boot argument.

See thread discussion at
https://groups.google.com/forum/#!topic/jailhouse-dev/uRYWRdbIdOg

Signed-off-by: Claudio Scordino <clau...@evidence.eu.com>
---
 README.md | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index 6c8e677..93c1bde 100644
--- a/README.md
+++ b/README.md
@@ -216,12 +216,16 @@ need to add
 
     memmap=66M$0x3b000000
 
-as parameter to the command line of the virtual machine's kernel. The Jailhouse
-QEMU cell config will block use of the serial port by the guest OS, so make
-sure that the guest kernel command line does NOT have its console set to log
-to the serial port (ie remove any 'console=ttyS0' arguments from the grub
-config). Reboot the guest and load jailhouse.ko. Then enable Jailhouse like
-this:
+as parameter to the command line of the virtual machine's kernel. Note that if
+you plan to put this parameter in GRUB2 variables, then you will need three
+escape characters before the dollar
+(e.g. ```GRUB_CMDLINE_LINUX_DEFAULT="memmap=66M\\\$0x3b000000"```).
+
+The Jailhouse QEMU cell config will block use of the serial port by the guest
+OS, so make sure that the guest kernel command line does NOT have its console
+set to log to the serial port (ie remove any 'console=ttyS0' arguments from the
+grub config). Reboot the guest and load jailhouse.ko. Then enable Jailhouse
+like this:
 
     jailhouse enable /path/to/qemu-vm.cell
 
-- 
2.7.4

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to