qemu/docs/devel/migration
Fabiano Rosas 4ed49feb44 migration/ram: Introduce 'mapped-ram' migration capability
Add a new migration capability 'mapped-ram'.

The core of the feature is to ensure that RAM pages are mapped
directly to offsets in the resulting migration file instead of being
streamed at arbitrary points.

The reasons why we'd want such behavior are:

 - The resulting file will have a bounded size, since pages which are
   dirtied multiple times will always go to a fixed location in the
   file, rather than constantly being added to a sequential
   stream. This eliminates cases where a VM with, say, 1G of RAM can
   result in a migration file that's 10s of GBs, provided that the
   workload constantly redirties memory.

 - It paves the way to implement O_DIRECT-enabled save/restore of the
   migration stream as the pages are ensured to be written at aligned
   offsets.

 - It allows the usage of multifd so we can write RAM pages to the
   migration file in parallel.

For now, enabling the capability has no effect. The next couple of
patches implement the core functionality.

Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240229153017.2221-8-farosas@suse.de
Signed-off-by: Peter Xu <peterx@redhat.com>
2024-03-01 15:42:04 +08:00
..
best-practices.rst docs/migration: Split "Debugging" and "Firmware" 2024-01-16 11:16:10 +08:00
compatibility.rst docs/migration: Split "Backwards compatibility" separately 2024-01-16 11:16:10 +08:00
dirty-limit.rst docs/migration: Split "dirty limit" 2024-01-16 11:16:10 +08:00
features.rst migration/ram: Introduce 'mapped-ram' migration capability 2024-03-01 15:42:04 +08:00
index.rst docs/migration: Further move virtio to be feature of migration 2024-01-16 11:16:10 +08:00
main.rst docs/devel/migration.rst: Document the file transport 2024-02-28 11:31:28 +08:00
mapped-ram.rst migration/ram: Introduce 'mapped-ram' migration capability 2024-03-01 15:42:04 +08:00
postcopy.rst docs/migration: Organize "Postcopy" page 2024-01-16 11:16:10 +08:00
vfio.rst
virtio.rst docs/migration: Convert virtio.txt into rST 2024-01-16 11:16:10 +08:00