Re: [PATCH 1/3] vfio/migration: Max in-flight VFIO device state buffer count limit

2025-07-15 Thread Cédric Le Goater
But do we really need both x-migration-max-queued-buffers and x-migration-max-queued-buffers-size? I think one is sufficient. I vote for x-migration-max-queued-buffers-size as the actual memory limit won't change depending on VFIO migration buffer size. If just one of these limits were to be

Re: [PATCH 1/3] vfio/migration: Max in-flight VFIO device state buffer count limit

2025-07-07 Thread Maciej S. Szmigiero
On 7.07.2025 11:29, Avihai Horon wrote: On 24/06/2025 20:51, Maciej S. Szmigiero wrote: External email: Use caution opening links or attachments From: "Maciej S. Szmigiero" Allow capping the maximum count of in-flight VFIO device state buffers queued at the destination, otherwise a maliciou

Re: [PATCH 1/3] vfio/migration: Max in-flight VFIO device state buffer count limit

2025-07-07 Thread Avihai Horon
On 24/06/2025 20:51, Maciej S. Szmigiero wrote: External email: Use caution opening links or attachments 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

Re: [PATCH 1/3] vfio/migration: Max in-flight VFIO device state buffer count limit

2025-07-01 Thread Fabiano Rosas
"Maciej S. Szmigiero" writes: > 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-

[PATCH 1/3] vfio/migration: Max in-flight VFIO device state buffer count limit

2025-06-24 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