]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: New XML to disable memory merge at guest startup
authorOsier Yang <jyang@redhat.com>
Tue, 14 May 2013 05:25:50 +0000 (13:25 +0800)
committerOsier Yang <jyang@redhat.com>
Wed, 15 May 2013 03:25:45 +0000 (11:25 +0800)
commit77b54b96611655355936f8024fad588af16610a1
treec81e88feedd7f4a58c5acd7b80fe3ea256c6a846
parentd12bbd6a7db67b736e0a923d8ff1490437bcf7aa
qemu: New XML to disable memory merge at guest startup

QEMU introduced command line "-mem-merge=on|off" (defaults to on) to
enable/disable the memory merge (KSM) at guest startup. This exposes
it by new XML:
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>

The XML tag is same with what we used internally for old RHEL.
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
tests/qemuargv2xmltest.c
tests/qemuxml2argvdata/qemuxml2argv-nosharepages.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-nosharepages.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c