Re: [PATCH v6 34/36] vfio/migration: Max in-flight VFIO device state buffer count limit

2025-03-05 Thread Maciej S. Szmigiero
On 5.03.2025 17:39, Cédric Le Goater wrote: On 3/5/25 16:11, Maciej S. Szmigiero wrote: On 5.03.2025 10:19, Cédric Le Goater wrote: On 3/4/25 23:04, Maciej S. Szmigiero wrote: From: "Maciej S. Szmigiero" Allow capping the maximum count of in-flight VFIO device state buffers queued at the des

Re: [PATCH v6 34/36] vfio/migration: Max in-flight VFIO device state buffer count limit

2025-03-05 Thread Cédric Le Goater
On 3/5/25 16:11, Maciej S. Szmigiero wrote: On 5.03.2025 10:19, Cédric Le Goater wrote: On 3/4/25 23:04, Maciej S. Szmigiero wrote: From: "Maciej S. Szmigiero" Allow capping the maximum count of in-flight VFIO device state buffers queued at the destination, otherwise a malicious QEMU source c

Re: [PATCH v6 34/36] vfio/migration: Max in-flight VFIO device state buffer count limit

2025-03-05 Thread Maciej S. Szmigiero
On 5.03.2025 10:19, Cédric Le Goater wrote: On 3/4/25 23:04, Maciej S. Szmigiero wrote: From: "Maciej S. Szmigiero" Allow capping the maximum count of in-flight VFIO device state buffers queued at the destination, otherwise a malicious QEMU source could theoretically cause the target QEMU to a

Re: [PATCH v6 34/36] vfio/migration: Max in-flight VFIO device state buffer count limit

2025-03-05 Thread Cédric Le Goater
On 3/4/25 23:04, Maciej S. Szmigiero wrote: From: "Maciej S. Szmigiero" Allow capping the maximum count 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 buffe

[PATCH v6 34/36] vfio/migration: Max in-flight VFIO device state buffer count limit

2025-03-04 Thread Maciej S. Szmigiero
From: "Maciej S. Szmigiero" Allow capping the maximum count 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 b