Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/x86_64/
Dprivate_mem_conversions_test.c292 uint64_t gpa = run->hypercall.args[0]; in handle_exit_hypercall()
293 uint64_t size = run->hypercall.args[1] * PAGE_SIZE; in handle_exit_hypercall()
294 bool set_attributes = run->hypercall.args[2] & MAP_GPA_SET_ATTRIBUTES; in handle_exit_hypercall()
295 bool map_shared = run->hypercall.args[2] & MAP_GPA_SHARED; in handle_exit_hypercall()
296 bool do_fallocate = run->hypercall.args[2] & MAP_GPA_DO_FALLOCATE; in handle_exit_hypercall()
299 TEST_ASSERT(run->hypercall.nr == KVM_HC_MAP_GPA_RANGE, in handle_exit_hypercall()
301 KVM_HC_MAP_GPA_RANGE, run->hypercall.nr); in handle_exit_hypercall()
309 run->hypercall.ret = 0; in handle_exit_hypercall()
/tools/testing/selftests/kvm/aarch64/
Dsmccc_filter.c214 TEST_ASSERT(run->hypercall.nr == func_id, in expect_call_fwd_to_user()
215 "Unexpected SMCCC function: %llu", run->hypercall.nr); in expect_call_fwd_to_user()
218 TEST_ASSERT(run->hypercall.flags & KVM_HYPERCALL_EXIT_SMC, in expect_call_fwd_to_user()
221 TEST_ASSERT(!(run->hypercall.flags & KVM_HYPERCALL_EXIT_SMC), in expect_call_fwd_to_user()
/tools/include/uapi/linux/
Dkvm.h285 } hypercall; member