Re: [PATCH] Build guest_memfd_test also on arm64.

2024-05-12 Thread Itaru Kitayama
> On May 8, 2024, at 15:41, Itaru Kitayama wrote: > > Hi Paolo, > >> On Feb 23, 2024, at 17:57, Paolo Bonzini wrote: >> >> On Thu, Feb 22, 2024 at 12:44 AM Itaru Kitayama >> wrote: >>> on arm64 KVM_CAP_GUEST_MEMDF capability is not enabled

Re: [PATCH] Build guest_memfd_test also on arm64.

2024-05-07 Thread Itaru Kitayama
Hi Paolo, > On Feb 23, 2024, at 17:57, Paolo Bonzini wrote: > > On Thu, Feb 22, 2024 at 12:44 AM Itaru Kitayama > wrote: >> on arm64 KVM_CAP_GUEST_MEMDF capability is not enabled, but >> guest_memfd_test can build on arm64, let's build it on arm64 as well. >

[PATCH] Build guest_memfd_test also on arm64.

2024-02-21 Thread Itaru Kitayama
--- on arm64 KVM_CAP_GUEST_MEMDF capability is not enabled, but guest_memfd_test can build on arm64, let's build it on arm64 as well. Signed-off-by: Itaru Kitayama --- tools/testing/selftests/kvm/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftest

[PATCH] selftest: kvm: kvm_page_table_test: change default guest memory down to 128MB

2023-12-17 Thread Itaru Kitayama
ftest users the above variable exists, change the default guest memory down to 128MB so that small systems can run this test without seeing an OOM. --- Signed-off-by: Itaru Kitayama --- tools/testing/selftests/kvm/kvm_page_table_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH] Lower the ptrace permissions so that the memfd_secrect test program runs without an issue.

2023-10-30 Thread Itaru Kitayama
--- On Ubuntu and probably other distros, ptrace permissions are tightend a bit by default; i.e., /proc/sys/kernel/yama/ptrace_score is set to 1. This cases memfd_secret's ptrace attach test fails with a permission error. Set it to 0 piror to running the program. Signed-off-by: Itaru Kit