qemu/docs/devel/migration
Maciej S. Szmigiero 300dcf58b7 vfio/migration: Max in-flight VFIO device state buffers size limit
Allow capping the maximum total size of in-flight VFIO device state buffers
queued at the destination, otherwise a malicious QEMU source could
theoretically cause the target QEMU to allocate unlimited amounts of memory
for buffers-in-flight.

Since this is not expected to be a realistic threat in most of VFIO live
migration use cases and the right value depends on the particular setup
disable this limit by default by setting it to UINT64_MAX.

Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Avihai Horon <avihaih@nvidia.com>
Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Link: https://lore.kernel.org/qemu-devel/4f7cad490988288f58e36b162d7a888ed7e7fd17.1752589295.git.maciej.szmigiero@oracle.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2025-07-15 17:11:12 +02:00
..
best-practices.rst docs/migration: Split "Debugging" and "Firmware" 2024-01-16 11:16:10 +08:00
compatibility.rst include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2024-12-19 19:36:37 +01:00
CPR.rst vfio: doc changes for cpr 2025-07-03 13:42:28 +02:00
dirty-limit.rst docs/migration: Split "dirty limit" 2024-01-16 11:16:10 +08:00
features.rst docs/migration: add qatzip compression feature 2024-09-09 10:55:39 -04:00
index.rst docs/migration: Further move virtio to be feature of migration 2024-01-16 11:16:10 +08:00
main.rst migration: Rename save_live_complete_precopy to save_complete 2025-07-11 10:37:36 -03:00
mapped-ram.rst docs: use consistent markup for footnotes 2024-10-11 13:48:42 +02:00
postcopy.rst migration/docs: Move docs for postcopy blocktime feature 2025-07-11 10:37:35 -03:00
qatzip-compression.rst docs/migration: add qatzip compression feature 2024-09-09 10:55:39 -04:00
qpl-compression.rst docs/migration: add qpl compression feature 2024-06-14 14:01:28 -03:00
uadk-compression.rst docs: Fix some typos (found by typos) and grammar issues 2024-08-16 14:12:59 +01:00
vfio.rst vfio/migration: Max in-flight VFIO device state buffers size limit 2025-07-15 17:11:12 +02:00
virtio.rst docs/migration: Convert virtio.txt into rST 2024-01-16 11:16:10 +08:00