[libvirt] [PATCH v4 03/11] nvdimm: introduce 'unarmed' element into xml for NVDIMM memory

Daniel P. Berrangé berrange at redhat.com
Mon Dec 17 11:07:24 UTC 2018


On Mon, Dec 17, 2018 at 05:26:13PM +0800, Luyao Zhong wrote:
> The 'unarmed' option allows users to mark vNVDIMM read-only:

Why don't we call this element <readonly/>  then ?

> 
> <devices>
>   ...
>   <memory model='nvdimm' access='shared'>
>       <source>
>           <path>/dev/dax0.0</path>
>       </source>
>       <target>
>           <size unit='MiB'>4094</size>
>           <node>0</node>
>           <label>
>               <size unit='MiB'>2</size>
>           </label>
>           <unarmed/>
>       </target>
>   </memory>
>   ...
> </devices>

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list