Re: [PATCH v4 06/13] vfio: Add the support for PrivateSharedManager Interface

2025-04-09 Thread Chenyi Qiang
On 4/9/2025 5:58 PM, Alexey Kardashevskiy wrote: > > > On 7/4/25 17:49, Chenyi Qiang wrote: >> Subsystems like VFIO previously disabled ram block discard and only >> allowed coordinated discarding via RamDiscardManager. However, >> guest_memfd in confidential VMs relies on discard operations f

Re: [PATCH v4 06/13] vfio: Add the support for PrivateSharedManager Interface

2025-04-09 Thread Alexey Kardashevskiy
On 7/4/25 17:49, Chenyi Qiang wrote: Subsystems like VFIO previously disabled ram block discard and only allowed coordinated discarding via RamDiscardManager. However, guest_memfd in confidential VMs relies on discard operations for page conversion between private and shared memory. This can l

[PATCH v4 06/13] vfio: Add the support for PrivateSharedManager Interface

2025-04-07 Thread Chenyi Qiang
Subsystems like VFIO previously disabled ram block discard and only allowed coordinated discarding via RamDiscardManager. However, guest_memfd in confidential VMs relies on discard operations for page conversion between private and shared memory. This can lead to stale IOMMU mapping issue when assi