From 9304b92219ae22f0c208797f5e726d2c0067f01d Mon Sep 17 00:00:00 2001 From: Amey Narkhede Date: Wed, 19 Aug 2020 02:34:03 +0530 Subject: [PATCH] docs/virtio-fs: Update --memory option parameters Use updated --memory option parameters. The field `size` needs M/G suffix. Without the suffix cloud-hypervisor panics at src/main.rs:353 Also the use of backing file is deprecated so use `shared` field Signed-off-by: Amey Narkhede --- docs/fs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/fs.md b/docs/fs.md index c2133cdf2..90f7e2b60 100644 --- a/docs/fs.md +++ b/docs/fs.md @@ -56,7 +56,7 @@ Assuming you have `focal-server-cloudimg-amd64.raw` and `custom-vmlinux.bin` on ```bash ./cloud-hypervisor \ --cpus 4 \ - --memory "size=512,file=/dev/shm" \ + --memory "size=512M,shared=on" \ --disk path=focal-server-cloudimg-amd64.raw \ --kernel custom-vmlinux.bin \ --cmdline "console=ttyS0 console=hvc0 root=/dev/vda1 rw" \