Files
xemu/migration
Fabiano Rosas 112b55f0b0 migration/savevm: Add a compatibility check for capabilities
It has always been possible to enable arbitrary migration capabilities
and attempt to take a snapshot of the VM with the savevm/loadvm
commands as well as their QMP counterparts
snapshot-save/snapshot-load.

Most migration capabilities are not meant to be used with snapshots
and there's a risk of crashing QEMU or producing incorrect
behavior. Ideally, every migration capability would either be
implemented for savevm or explicitly rejected.

Add a compatibility check routine and reject the snapshot command if
an incompatible capability is enabled. For now only act on the the two
that actually cause a crash: multifd and mapped-ram.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2881
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20251007184213.5990-1-farosas@suse.de
Signed-off-by: Peter Xu <peterx@redhat.com>
2025-11-03 16:04:09 -05:00
..
2025-10-03 09:48:02 -04:00
2025-10-03 09:48:02 -04:00
2024-12-20 17:44:56 +01:00
2025-10-03 09:48:02 -04:00
2025-10-03 09:48:02 -04:00
2025-05-02 11:09:36 -04:00
2025-10-03 09:48:02 -04:00
2025-09-02 17:57:05 +02:00
2025-09-02 17:57:05 +02:00
2025-10-03 09:48:02 -04:00