]> xenbits.xensource.com Git - libvirt.git/commit
conf: Introduce dynamicMemslots attribute for virtio-mem
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 4 Jan 2024 09:03:36 +0000 (10:03 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 30 Jan 2024 09:44:36 +0000 (10:44 +0100)
commit53258205854e649bc82310542373df004a4734ab
treeb93cb4ec5f6d3ce384c02f2202e3f829adc45e51
parent3d8445c25d2ef754f3c8f9c4a29438551a92591b
conf: Introduce dynamicMemslots attribute for virtio-mem

Introduced in v8.2.0-rc0~74^2~2, QEMU now allows setting
.dynamic-memslots attribute for virtio-mem-pci devices. When
turned on, it allows memory exposed to guest to be split into
multiple memslots and thus smaller memory footprint (see the
original commit for detailed explanation).

Therefore, introduce new <target/> attribute which will control
that QEMU knob.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
docs/formatdomain.rst
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/schemas/domaincommon.rng
tests/qemuxmlconfdata/memory-hotplug-virtio-mem.xml