You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/include/hw/vfio
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>
4 days ago
..
vfio-amd-xgbe.h Use DECLARE_*CHECKER* macros 5 years ago
vfio-calxeda-xgmac.h Use DECLARE_*CHECKER* macros 5 years ago
vfio-container-base.h vfio/iommufd: use IOMMU_IOAS_MAP_FILE 2 weeks ago
vfio-container.h vfio/container: register container for cpr 1 month ago
vfio-cpr.h vfio/container: delete old cpr register 2 weeks ago
vfio-device.h vfio/migration: Max in-flight VFIO device state buffers size limit 4 days ago
vfio-migration.h vfio: Introduce a new header file for external migration services 3 months ago
vfio-platform.h vfio: Rename vfio-common.h to vfio-device.h 3 months ago
vfio-region.h vfio: mark posted writes in region write callbacks 1 month ago