Re: [PATCH v4 45/66] memory: Introduce memory_region_init_ram_guest_memfd()

2024-01-26 Thread David Hildenbrand
On 25.01.24 04:23, Xiaoyao Li wrote: Introduce memory_region_init_ram_guest_memfd() to allocate private guset memfd on the MemoryRegion initialization. It's for the use case of TDVF, which must be private on TDX case. Signed-off-by: Xiaoyao Li --- include/exec/memory.h | 6 ++ system/me

[PATCH v4 45/66] memory: Introduce memory_region_init_ram_guest_memfd()

2024-01-24 Thread Xiaoyao Li
Introduce memory_region_init_ram_guest_memfd() to allocate private guset memfd on the MemoryRegion initialization. It's for the use case of TDVF, which must be private on TDX case. Signed-off-by: Xiaoyao Li --- include/exec/memory.h | 6 ++ system/memory.c | 27 +++