]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Wire up <memory/> live update
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 23 Nov 2020 16:29:00 +0000 (17:29 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 1 Oct 2021 09:04:16 +0000 (11:04 +0200)
commit3ec559661a98ee274d0bd1cba6a5db44ba6e48d5
treef10b0b07521d31cc38d4df092257b0baf9ee5d60
parent363866a1e28f01c30b6fec81928bbad1a6b414fa
qemu: Wire up <memory/> live update

As advertised in one of previous commits, we want to be able to
change 'requested-size' attribute of virtio-mem on the fly. This
commit does exactly that. Changing anything else is checked for
and forbidden.

Once guest has changed the allocation, QEMU emits an event which
we will use to track the allocation. In the next commit.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_driver.c
src/qemu/qemu_hotplug.c
src/qemu/qemu_hotplug.h
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h