Re: [PATCH 2/2] selftests: kvm: Add mem_slot_test test

From: Wainer dos Santos Moschetta
Date: Thu Apr 02 2020 - 09:49:04 EST



On 4/1/20 3:38 AM, Andrew Jones wrote:
On Tue, Mar 31, 2020 at 06:42:21PM -0300, Wainer dos Santos Moschetta wrote:
It would be nice to exercise the code by adding slots with different page
flags. But for this test that simple checks the limit, the use of
KVM_MEM_READONLY is enough. I will change it on v2.
It would be good to test more memslot error conditions as well. Do you plan
to expand on this test?

Yes, I do. For example, check memory slots addresses can't overlap.


Thanks,
drew