<memory model='nvdimm'>
<source>
<path>/tmp/nvdimm</path>
- <alignsize unit='KiB'>2048</alignsize>
</source>
<target>
<size unit='KiB'>524288</size>
<readonly/>
</target>
</memory>
- <memory model='nvdimm'>
+ <memory model='nvdimm' access='shared'>
<source>
<path>/dev/dax0.0</path>
+ <alignsize unit='KiB'>2048</alignsize>
<pmem/>
</source>
<target>
module basis. Values are the same as
<a href="#elementsMemoryBacking">Memory Backing</a>:
<code>shared</code> and <code>private</code>.
+ For <code>nvdimm</code> model, if using real NVDIMM DAX device as
+ backend, <code>shared</code> is required.
</p>
</dd>
alignment used to mmap the address range for the backend
<code>path</code>. If not supplied the host page size is used.
For example, to mmap a real NVDIMM device a 2M-aligned page may
- be required.
+ be required, and host page size is 4KB, then we need to set this
+ element to 2MB.
<span class="since">Since 5.0.0</span>
</p>
</dd>