]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add qemu command-line to generate the nvdimm unarmed property
authorLuyao Zhong <luyao.zhong@intel.com>
Thu, 20 Dec 2018 09:14:49 +0000 (17:14 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 2 Jan 2019 14:00:34 +0000 (09:00 -0500)
commit87c87f41f6e6e08ad084d4a7af846d7e4e110bdf
treea420b659aceefc498bce7a6a42d70265696d9dcb
parent82576d8f35ec78d75944d85557d5c97095732589
qemu: Add qemu command-line to generate the nvdimm unarmed property

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

-device nvdimm,...[,unarmed=on]

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