On 31.07.23 18:21, Xiaoyao Li wrote:
From: Chao Peng <chao.p.peng@xxxxxxxxxxxxxxx>
Add KVM gmem support to RAMBlock so we can have both normal
hva based memory and gmem fd based memory in one RAMBlock.
The gmem part is represented by the gmem_fd.
Signed-off-by: Chao Peng <chao.p.peng@xxxxxxxxxxxxxxx>
Signed-off-by: Xiaoyao Li <xiaoyao.li@xxxxxxxxx>
So, *someone* creates a RAMBlock in QEMU.
Who'll squeeze a gmem_fd in there? When? How?
Shouldn't we create the RAM memory region / RAMBlock already with the
gmem_fd, and set that when initializing these things?
--
Cheers,
David / dhildenb