]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Introduce @access to <memory/>
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 1 Aug 2016 12:59:38 +0000 (14:59 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 15 Mar 2017 13:18:58 +0000 (14:18 +0100)
commit80af11d3dd4c9e426beee36643baba90e7ff4c15
tree2301589481bf6af1c24ef370a7b5eae46a7bb216
parent1bc173199edac4fcc63718cf010ea3950f205435
conf: Introduce @access to <memory/>

Now that NVDIMM has found its way into libvirt, users might want
to fine tune some settings for each module separately. One such
setting is 'share=on|off' for the memory-backend-file object.
This setting - just like its name suggest already - enables
sharing the nvdimm module with other applications. Under the hood
it controls whether qemu mmaps() the file as MAP_PRIVATE or
MAP_SHARED.

Yet again, we have such config knob in domain XML, but it's just
an attribute to numa <cell/>. This does not give fine enough
tuning on per-memdevice basis so we need to have the attribute
for each device too.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
tests/qemuxml2argvdata/qemuxml2argv-memory-hotplug-nvdimm-access.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/qemuxml2xmlout-memory-hotplug-nvdimm-access.xml [new symlink]
tests/qemuxml2xmltest.c