]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Add new xml elements for file memorybacking support
authorJaroslav Safka <jaroslavx.safka@intel.com>
Thu, 2 Feb 2017 13:27:32 +0000 (13:27 +0000)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 9 Feb 2017 13:27:19 +0000 (14:27 +0100)
commitbc6d3121a4c18bbf211fb3f426d1ff34482b6459
tree233817cb1355aa20e1e2290ab765857bfb9c9fa2
parent48d9e6cdccda5355941ca2eb4c00021d2524955f
conf: Add new xml elements for file memorybacking support

This part introduces new xml elements for file based
memorybacking support and their parsing.
(It allows vhost-user to be used without hugepages.)

New xml elements:
<memoryBacking>
  <source type="file|anonymous"/>
  <access mode="shared|private"/>
  <allocation mode="immediate|ondemand"/>
</memoryBacking>
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
tests/qemuxml2argvdata/qemuxml2argv-memorybacking-set.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-memorybacking-unset.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/qemuxml2xmlout-memorybacking-set.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/qemuxml2xmlout-memorybacking-unset.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c