Re: [PATCH] hostmem/shm: Allow shm memory backend serve as shared memory for coco-VMs

2025-07-21 Thread David Hildenbrand
On 21.07.25 08:52, Xiaoyao Li wrote: shm can surely serve as the shared memory for coco-VMs. But currently it doesn't check the backend->guest_memfd to pass down the RAM_GUEST_MEMFD flag. It leads to failure when creating coco-VMs (e.g., TDX guest) which require private mmeory. Set and pass down

Re: [PATCH] hostmem/shm: Allow shm memory backend serve as shared memory for coco-VMs

2025-07-21 Thread Stefano Garzarella
On Mon, Jul 21, 2025 at 02:52:20PM +0800, Xiaoyao Li wrote: shm can surely serve as the shared memory for coco-VMs. But currently it doesn't check the backend->guest_memfd to pass down the RAM_GUEST_MEMFD flag. It leads to failure when creating coco-VMs (e.g., TDX guest) which require private mme

[PATCH] hostmem/shm: Allow shm memory backend serve as shared memory for coco-VMs

2025-07-21 Thread Xiaoyao Li
shm can surely serve as the shared memory for coco-VMs. But currently it doesn't check the backend->guest_memfd to pass down the RAM_GUEST_MEMFD flag. It leads to failure when creating coco-VMs (e.g., TDX guest) which require private mmeory. Set and pass down RAM_GUEST_MEMFD when backend->guest_me