On 5/10/22 6:08 PM, Vishal Annapurve wrote:
This v2 series implements selftests targeting the feature floated by Chao via: https://lore.kernel.org/linux-mm/20220310140911.50924-1-chao.p.peng@linux.in...
Below changes aim to test the fd based approach for guest private memory in context of normal (non-confidential) VMs executing on non-confidential platforms.
priv_memfd_test.c file adds a suite of selftests to access private memory from the guest via private/shared accesses and checking if the contents can be leaked to/accessed by vmm via shared memory view.
Updates in V2:
- Tests are added to exercise implicit/explicit memory conversion paths.
- Test is added to exercise UPM feature without double memory allocation.
+ shuah shuah@kernel.org
Adding my correct kernel.org address. Please make sure to run get_maintainers.pl to get the right addresses for miantianers.
thanks, -- Shuah