Re: [libvirt] [RFC 1/3] xml: introduce more config elements for NVDIMM memory

2018-11-16 Thread Zhong, Luyao
On 11/16/2018 11:35 PM, Zhong, Luyao wrote: I maybe misunderstand some comments. so sorry for that. I have updated my reply. On 11/8/2018 5:09 AM, John Ferlan wrote: On 10/16/18 10:21 PM, Luyao Zhong wrote: In order to align with QEMU ,four more parameters about NVDIMM will be

Re: [libvirt] [RFC 1/3] xml: introduce more config elements for NVDIMM memory

2018-11-16 Thread Zhong, Luyao
On 11/8/2018 5:09 AM, John Ferlan wrote: On 10/16/18 10:21 PM, Luyao Zhong wrote: In order to align with QEMU ,four more parameters about NVDIMM will be introduced into Libvirt xml. 1.alignsize The 'alignsize' option allows users to specify the proper alignment. When mmap(2) the backend

Re: [libvirt] [RFC 1/3] xml: introduce more config elements for NVDIMM memory

2018-11-07 Thread John Ferlan
On 10/16/18 10:21 PM, Luyao Zhong wrote: > In order to align with QEMU ,four more parameters about NVDIMM will > be introduced into Libvirt xml. > > 1.alignsize > The 'alignsize' option allows users to specify the proper alignment. When > mmap(2) the backend files, QEMU uses the host page size

[libvirt] [RFC 1/3] xml: introduce more config elements for NVDIMM memory

2018-10-16 Thread Luyao Zhong
In order to align with QEMU ,four more parameters about NVDIMM will be introduced into Libvirt xml. 1.alignsize The 'alignsize' option allows users to specify the proper alignment. When mmap(2) the backend files, QEMU uses the host page size by default as the alignment of mapping address.