Re: [PATCH v1] KVM: selftests: Fix Assertion on non-x86_64 platforms

2023-12-08 Thread Sean Christopherson
On Thu, Dec 07, 2023, Shaoqin Huang wrote: > When running the set_memory_region_test on arm64 platform, it causes the > below assert: > > Test Assertion Failure > set_memory_region_test.c:355: r && errno == EINVAL > pid=40695 tid=40695 errno=0 - Success > 1

Re: [PATCH v1] KVM: selftests: Fix Assertion on non-x86_64 platforms

2023-12-07 Thread Gavin Shan
On 12/8/23 13:35, Shaoqin Huang wrote: When running the set_memory_region_test on arm64 platform, it causes the below assert: Test Assertion Failure set_memory_region_test.c:355: r && errno == EINVAL pid=40695 tid=40695 errno=0 - Success 1 0x00401baf:

[PATCH v1] KVM: selftests: Fix Assertion on non-x86_64 platforms

2023-12-07 Thread Shaoqin Huang
When running the set_memory_region_test on arm64 platform, it causes the below assert: Test Assertion Failure set_memory_region_test.c:355: r && errno == EINVAL pid=40695 tid=40695 errno=0 - Success 1 0x00401baf: test_invalid_memory_region_flags at