diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-07-28 18:45:38 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-08-06 17:32:03 +0200 |
commit | 87ccb7dbb25b28c0003fe4be88ed02289b651f96 (patch) | |
tree | 0c2e1b69d44098f74be5fc892517c637233bc500 /tools/lib/bitmap.c | |
parent | 2305339ee7129d9d56af3bdd4d59aff4d29ed390 (diff) |
kvm: selftests: actually use all of lib/vmx.c
The allocation of the VMXON and VMCS is currently done twice, in
lib/vmx.c and in vmx_tsc_adjust_test.c. Reorganize the code to
provide a cleaner and easier to use API to the tests. lib/vmx.c
now does the complete setup of the VMX data structures, but does not
create the VM or set CPUID. This has to be done by the caller.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions