2018-01-25 10:48-0800, Ken Hofsass: > Test framework for KVM and the Linux kernel that enables standalone > tests to exercise host, guest, and nested guest functionality without > requiring a separate .flat file. The framework and tests are written > in C and assembly. > > Signed-off-by: Ken Hofsass <hofsass@xxxxxxxxxx> > --- > configure | 4 + > x86/Makefile.common | 31 +- > gtests/include/kvm_util.h | 346 ++++ > gtests/include/test_sparsebit.h | 82 + > gtests/include/test_util.h | 602 +++++++ > gtests/include/vmx.h | 674 +++++++ > gtests/include/x86.h | 306 ++++ > gtests/lib/kvm_util.c | 3003 +++++++++++++++++++++++++++++++ > gtests/lib/test_sparsebit.c | 2793 +++++++++++++++++++++++++++++ > gtests/lib/test_util.c | 3411 ++++++++++++++++++++++++++++++++++++ > gtests/tests/set_sregs_test.c | 66 + > gtests/tests/vmx_tsc_adjust_test.c | 215 +++ > gtests/.gitignore | 2 + > 13 files changed, 11532 insertions(+), 3 deletions(-) > create mode 100644 gtests/include/kvm_util.h > create mode 100644 gtests/include/test_sparsebit.h > create mode 100644 gtests/include/test_util.h > create mode 100644 gtests/include/vmx.h > create mode 100644 gtests/include/x86.h > create mode 100644 gtests/lib/kvm_util.c > create mode 100644 gtests/lib/test_sparsebit.c > create mode 100644 gtests/lib/test_util.c > create mode 100644 gtests/tests/set_sregs_test.c > create mode 100644 gtests/tests/vmx_tsc_adjust_test.c > create mode 100644 gtests/.gitignore This email didn't make it to the kvm list. Might be because it is too big, please see what the server said and potentially resend after splitting into parts, thanks. (Also, doesn't compile here due to missing #include <asm/msr-index.h> and I didn't look further.)