aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/x86_64/vmx.c
diff options
context:
space:
mode:
authorAndrew Jones <drjones@redhat.com>2018-09-18 19:54:25 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2018-10-17 00:26:14 +0200
commit14c47b7530e2db1ab1d42ebbe99b2a58b8443ce7 (patch)
tree780a25aaf8db4cacdf7a8a89d7eb6e858a0c3b5f /tools/testing/selftests/kvm/lib/x86_64/vmx.c
parentkvm: selftests: vcpu_setup: set cr4.osfxsr (diff)
downloadlinux-dev-14c47b7530e2db1ab1d42ebbe99b2a58b8443ce7.tar.xz
linux-dev-14c47b7530e2db1ab1d42ebbe99b2a58b8443ce7.zip
kvm: selftests: introduce ucall
Rework the guest exit to userspace code to generalize the concept into what it is, a "hypercall to userspace", and provide two implementations of it: the PortIO version currently used, but only useable by x86, and an MMIO version that other architectures (except s390) can use. Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/x86_64/vmx.c')
0 files changed, 0 insertions, 0 deletions