aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPankaj Gupta <pankaj.gupta.linux@gmail.com>2021-09-23 12:30:15 +0200
committerLaurent Vivier <laurent@vivier.eu>2021-09-27 10:57:21 +0200
commitca577afc683d0380b5366bdba4c7f0fe5423d809 (patch)
treeb48033e8fa5381bdb6efa7fbd451548cf256ce61
parent11a11998460ed84d9a127c025f50f7234e5a483f (diff)
downloadqemu-ca577afc683d0380b5366bdba4c7f0fe5423d809.zip
qemu-ca577afc683d0380b5366bdba4c7f0fe5423d809.tar.gz
qemu-ca577afc683d0380b5366bdba4c7f0fe5423d809.tar.bz2
docs/nvdimm: Update nvdimm option value in machine example
Update nvdimm option value in example command from "-machine pc,nvdimm" to "-machine pc,nvdimm=on" as former complains with the below error: "qemu-system-x86_64: -machine pc,nvdimm: Expected '=' after parameter 'nvdimm'" Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com> Message-Id: <20210923103015.135262-1-pankaj.gupta.linux@gmail.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r--docs/nvdimm.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/nvdimm.txt b/docs/nvdimm.txt
index 0aae682..fd7773d 100644
--- a/docs/nvdimm.txt
+++ b/docs/nvdimm.txt
@@ -15,7 +15,7 @@ backend (i.e. memory-backend-file and memory-backend-ram). A simple
way to create a vNVDIMM device at startup time is done via the
following command line options:
- -machine pc,nvdimm
+ -machine pc,nvdimm=on
-m $RAM_SIZE,slots=$N,maxmem=$MAX_SIZE
-object memory-backend-file,id=mem1,share=on,mem-path=$PATH,size=$NVDIMM_SIZE,readonly=off
-device nvdimm,id=nvdimm1,memdev=mem1,unarmed=off