libvirt/src/qemu
Michal Privoznik 9985f62b51 qemu: Wire up MEMORY_DEVICE_SIZE_CHANGE event
As advertised in previous commit, this event is delivered to us
when virtio-mem module changes the allocation inside the guest.
It comes with one attribute - size - which holds the new size of
the virtio-mem (well, allocated size), in bytes.
Mind you, this is not necessarily the same number as 'requested
size'. It almost certainly will be when sizing the memory up, but
it might not be when sizing the memory down - the guest kernel
might be unable to free some blocks.

This current size is reported in the domain XML as an output
element only.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2021-10-01 11:04:47 +02:00
..
EVENTHANDLERS.txt
libvirt_qemu_probes.d meson: src: build libvirt_driver_qemu_impl.a static library 2020-08-03 09:27:04 +02:00
libvirtd_qemu.aug qemu: conf: Add 'deprecation_behavior' setting to qemu.conf 2021-04-06 17:07:05 +02:00
meson.build build: Remove unused 'conflicts' key from virt_daemon_unit 2021-02-10 09:30:41 -07:00
MIGRATION.txt
qemu_agent.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_agent.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_alias.c qemu: Build command line for virtio-mem 2021-10-01 11:04:05 +02:00
qemu_alias.h qemuAssignDeviceControllerAlias: Remove unused 'qemuCaps' argument 2021-05-03 12:14:44 +02:00
qemu_backup.c qemuBuildTLSx509BackendProps: Remove unused 'qemuCaps' 2021-09-24 10:37:00 +02:00
qemu_backup.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_block.c qemu: Simplify qemuDomainSecretInfo 2021-09-22 14:53:56 +02:00
qemu_block.h qemumonitorjsontest: Add test case for 'blockdev-reopen' 2021-07-26 20:25:22 +02:00
qemu_blockjob.c qemuBlockJobRefreshJobs: Replace qemuMonitorJobCancel by qemuMonitorBlockJobCancel 2021-04-26 17:22:52 +02:00
qemu_blockjob.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_capabilities.c qemu_capabilities: Introduce QEMU_CAPS_MEMORY_BACKEND_RESERVE 2021-10-01 11:02:09 +02:00
qemu_capabilities.h qemu_capabilities: Introduce QEMU_CAPS_MEMORY_BACKEND_RESERVE 2021-10-01 11:02:09 +02:00
qemu_capspriv.h qemu: Introduce virQEMUCapsUpdateHostCPUModel 2021-04-21 10:20:46 +02:00
qemu_cgroup.c virDevMapperGetTargets: Use a linked list as return type 2021-09-21 12:25:42 +02:00
qemu_cgroup.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_checkpoint.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_checkpoint.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_command.c qemu: Build command line for virtio-mem 2021-10-01 11:04:05 +02:00
qemu_command.h qemuBuildTLSx509BackendProps: Remove unused 'qemuCaps' 2021-09-24 10:37:00 +02:00
qemu_conf.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_conf.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_dbus.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_dbus.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_domain_address.c conf: Introduce virtio-mem <memory/> model 2021-10-01 11:02:53 +02:00
qemu_domain_address.h qemuDomainCheckCCWS390AddressSupport: Remove duplicated checker 2021-06-15 16:58:23 +02:00
qemu_domain.c qemu: Wire up MEMORY_DEVICE_SIZE_CHANGE event 2021-10-01 11:04:47 +02:00
qemu_domain.h qemu: Wire up MEMORY_DEVICE_SIZE_CHANGE event 2021-10-01 11:04:47 +02:00
qemu_domainjob.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_domainjob.h qemu_domainjob: Drop 'const' from strings in _qemuDomainJobObj 2021-05-03 12:08:26 +02:00
qemu_driver.c qemu: Wire up MEMORY_DEVICE_SIZE_CHANGE event 2021-10-01 11:04:47 +02:00
qemu_driver.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_extdevice.c qemu: add socket for virtiofs filesystems 2021-04-21 15:48:01 +02:00
qemu_extdevice.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_firmware.c qemu: firmware: Store machine types as a NULL-terminated string list 2021-08-09 10:09:00 +02:00
qemu_firmware.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_hostdev.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_hostdev.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_hotplug.c qemu: Wire up <memory/> live update 2021-10-01 11:04:16 +02:00
qemu_hotplug.h qemu: Wire up <memory/> live update 2021-10-01 11:04:16 +02:00
qemu_interface.c Fix spelling 2021-04-15 15:42:21 +02:00
qemu_interface.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_interop_config.c qemuInteropFetchConfigs: virHashNew cannot return NULL 2021-07-23 11:30:46 +02:00
qemu_interop_config.h qemu: generalize qemuFetchConfigs 2019-09-24 12:17:10 -04:00
qemu_migration_cookie.c qemu: migration: Don't transfer 'allowReboot' flag 2021-08-25 15:32:44 +02:00
qemu_migration_cookie.h qemu: migration: Don't transfer 'allowReboot' flag 2021-08-25 15:32:44 +02:00
qemu_migration_params.c qemuBuildTLSx509BackendProps: Remove unused 'qemuCaps' 2021-09-24 10:37:00 +02:00
qemu_migration_params.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_migration_paramspriv.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_migration.c qemu: migration: Don't transfer 'allowReboot' flag 2021-08-25 15:32:44 +02:00
qemu_migration.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_monitor_json.c qemu: Wire up MEMORY_DEVICE_SIZE_CHANGE event 2021-10-01 11:04:47 +02:00
qemu_monitor_json.h qemu: Wire up <memory/> live update 2021-10-01 11:04:16 +02:00
qemu_monitor_priv.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_monitor_text.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_monitor_text.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_monitor.c qemu: Wire up MEMORY_DEVICE_SIZE_CHANGE event 2021-10-01 11:04:47 +02:00
qemu_monitor.h qemu: Wire up MEMORY_DEVICE_SIZE_CHANGE event 2021-10-01 11:04:47 +02:00
qemu_namespace.c virDevMapperGetTargets: Use a linked list as return type 2021-09-21 12:25:42 +02:00
qemu_namespace.h qemu: Do not erase duplicate devices from namespace if error occurs 2021-07-15 12:00:24 +02:00
qemu_process.c qemu: Wire up MEMORY_DEVICE_SIZE_CHANGE event 2021-10-01 11:04:47 +02:00
qemu_process.h qemu: process: Split out logic for setting the 'allowReboot' internal flag 2021-09-06 11:13:06 +02:00
qemu_processpriv.h qemu: Remove return value from qemuMonitorDomainDeviceDeletedCallback 2021-07-23 10:01:48 +02:00
qemu_qapi.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_qapi.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_saveimage.c qemuDomainOpenFile: Take @cfg instead of driver 2021-08-16 09:24:38 +02:00
qemu_saveimage.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_security.c qemu: Set label on vhostuser net device when hotplugging 2021-08-26 16:06:45 -06:00
qemu_security.h qemu: Set label on vhostuser net device when hotplugging 2021-08-26 16:06:45 -06:00
qemu_shim.c qemu_shim: Don't hang if failed to start domain 2021-03-12 17:05:52 +01:00
qemu_slirp.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_slirp.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_snapshot.c qemuBuildTLSx509BackendProps: Remove unused 'qemuCaps' 2021-09-24 10:37:00 +02:00
qemu_snapshot.h qemu_snapshot: Add the guest name to the transient disk path 2021-05-24 20:38:07 +02:00
qemu_tpm.c qemu_tpm: Start swtpm(8) daemon with --terminate switch 2021-09-15 09:54:06 +02:00
qemu_tpm.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_validate.c conf: Introduce virtio-mem <memory/> model 2021-10-01 11:02:53 +02:00
qemu_validate.h qemu: Reject 'rename-restart' action for 'on_reboot'/'on_poweroff'/'on_crash' 2021-08-25 15:32:44 +02:00
qemu_vhost_user_gpu.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_vhost_user_gpu.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_vhost_user.c qemu_vhost_user: don't raise error for unknown features 2021-07-26 10:01:59 -04:00
qemu_vhost_user.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_virtiofs.c qemu: virtiofs: kill the whole process group 2021-08-05 11:18:13 +02:00
qemu_virtiofs.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu.conf qemu: conf: simplify seccomp_sandbox comment 2021-09-27 10:11:21 +02:00
test_libvirtd_qemu.aug.in qemu: conf: Add 'deprecation_behavior' setting to qemu.conf 2021-04-06 17:07:05 +02:00
THREADS.txt lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virtqemud.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtqemud.service.in qemu, xen: add missing deps on virtlockd/virtlogd sockets 2021-08-31 13:40:33 +01:00
virtqemud.sysconf qemu: Allow audio driver override in virtqemud 2020-04-03 11:50:57 +02:00