]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Add command-line to generate the nvdimm pmem property
authorLuyao Zhong <luyao.zhong@intel.com>
Thu, 20 Dec 2018 09:14:48 +0000 (17:14 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 2 Jan 2019 14:00:34 +0000 (09:00 -0500)
commit82576d8f35ec78d75944d85557d5c97095732589
tree1de669bc8c3aa129cb6a1797dd5052c36a804cee
parent1fdcaac3d3c61fa8017b4c9d1c7cd523c727a2f8
qemu: Add command-line to generate the nvdimm pmem property

According to the result parsing from xml, add pmem property
into QEMU command line:

-object memory-backend-file,...[,pmem=on]

Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/memory-hotplug-nvdimm-pmem.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvtest.c