On 01/27/17 16:48 -0500, Konrad Rzeszutek Wilk wrote:
On Mon, Oct 10, 2016 at 08:32:31AM +0800, Haozhong Zhang wrote:
For xl vNVDIMM configs
  vnvdimms = [ '/path/to/pmem0', '/path/to/pmem1', ... ]

the following qemu options are built
  -machine <existing options>,nvdimm
  -m <existing options>,slots=$NR_SLOTS,maxmem=$MEM_SIZE
  -object memory-backend-xen,id=mem1,size=$PMEM0_SIZE,mem-path=/path/to/pmem0
  -device nvdimm,id=nvdimm1,memdev=mem1
  -object memory-backend-xen,id=mem2,size=$PMEM1_SIZE,mem-path=/path/to/pmem1
  -device nvdimm,id=nvdimm2,memdev=mem2
  ...

Also you may want to say which patch (just the title) adds support
for these parameters?

Sure, I'll add comments about the corresponding QEMU commit ids. Those
commits are already in upstream QEMU (since v2.6).

Thanks,
Haozhong

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to