Home
last modified time | relevance | path

Searched refs:test_invalid_guest_memfd (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/kvm/
H A Dset_memory_region_test.c466 static void test_invalid_guest_memfd(struct kvm_vm *vm, int memfd, in test_invalid_guest_memfd() function
484 test_invalid_guest_memfd(vm, vm->kvm_fd, 0, "KVM fd should fail"); in test_add_private_memory_region()
485 test_invalid_guest_memfd(vm, vm->fd, 0, "VM's fd should fail"); in test_add_private_memory_region()
488 test_invalid_guest_memfd(vm, memfd, 0, "Regular memfd() should fail"); in test_add_private_memory_region()
493 test_invalid_guest_memfd(vm, memfd, 0, "Other VM's guest_memfd() should fail"); in test_add_private_memory_region()
502 test_invalid_guest_memfd(vm, memfd, i, "Unaligned offset should fail"); in test_add_private_memory_region()