diff options
author | Sean Christopherson <seanjc@google.com> | 2023-02-04 02:41:49 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-03-14 10:20:08 -0400 |
commit | c0c76d99939cb4ac28cbc5ce542cff2b9e1e1b02 (patch) | |
tree | b2621f428d853da0561fc7f315424afc9b0f25b1 /tools/testing/selftests/kvm/lib/kvm_util.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 <seanjc@google.com>
Message-Id: <20230204024151.1373296-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/kvm_util.c')
0 files changed, 0 insertions, 0 deletions