Searched refs:test_invalid_guest_memfd (Results 1 – 1 of 1) sorted by relevance
| /linux/tools/testing/selftests/kvm/ |
| H A D | set_memory_region_test.c | 465 static void test_invalid_guest_memfd(struct kvm_vm *vm, int memfd, in test_invalid_guest_memfd() function 483 test_invalid_guest_memfd(vm, vm->kvm_fd, 0, "KVM fd should fail"); in test_add_private_memory_region() 484 test_invalid_guest_memfd(vm, vm->fd, 0, "VM's fd should fail"); in test_add_private_memory_region() 487 test_invalid_guest_memfd(vm, memfd, 0, "Regular memfd() should fail"); in test_add_private_memory_region() 492 test_invalid_guest_memfd(vm, memfd, 0, "Other VM's guest_memfd() should fail"); in test_add_private_memory_region() 501 test_invalid_guest_memfd(vm, memfd, i, "Unaligned offset should fail"); in test_add_private_memory_region()
|