diff options
author | Sean Christopherson <[email protected]> | 2023-02-04 02:41:49 +0000 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2023-03-14 10:20:08 -0400 |
commit | c0c76d99939cb4ac28cbc5ce542cff2b9e1e1b02 (patch) | |
tree | b2621f428d853da0561fc7f315424afc9b0f25b1 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 4009e0bb7b83d967a14e108d271f003b378f9af9 (diff) |
KVM: selftests: Add helpers to make Xen-style VMCALL/VMMCALL hypercalls
Add wrappers to do hypercalls using VMCALL/VMMCALL and Xen's register ABI
(as opposed to full Xen-style hypercalls through a hypervisor provided
page). Using the common helpers dedups a pile of code, and uses the
native hypercall instruction when running on AMD.
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions