]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Introduce <current/> property to virtio-mem
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 21 Jun 2021 09:56:07 +0000 (11:56 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 1 Oct 2021 09:04:25 +0000 (11:04 +0200)
commit59e9fb98f5fd8b28b3b8801ce158fcbfe44a4ffd
tree2fc5fe5c14d057edd59e3aa13d81b7d67a09d55f
parent99e4ae2b022290efad5819982a8cca99955264e7
Introduce <current/> property to virtio-mem

The virtio-mem has another property that isn't exposed yet:
current size exposed to the guest. Please note, that this is
different to <requested/> because esp. on sizing the memory
down guest may refuse to release some blocks. Therefore, let's
have another size to report in the XML. But because of its
nature, the <current/> won't be parsed and is report only (for
live XMLs).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/formatdomain.rst
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h