> 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
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.
>
---
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
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(-)
---
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