From: Pankaj Gupta Date: Thu, 23 Sep 2021 10:30:15 +0000 (+0200) Subject: docs/nvdimm: Update nvdimm option value in machine example X-Git-Tag: qemu-xen-4.17.0-rc4~315^2~4 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ca577afc683d0380b5366bdba4c7f0fe5423d809;p=qemu-xen.git 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 Signed-off-by: Pankaj Gupta Message-Id: <20210923103015.135262-1-pankaj.gupta.linux@gmail.com> Signed-off-by: Laurent Vivier --- diff --git a/docs/nvdimm.txt b/docs/nvdimm.txt index 0aae682be3..fd7773dc5a 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