]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: selftests: add sync_regs_test
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 28 Mar 2018 07:45:34 +0000 (09:45 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 4 Apr 2018 17:11:00 +0000 (19:11 +0200)
commitf2ca297ba733215e5ec4990f11360faf77c5d030
tree68ef0918d9b8680cd4b9de9109a090eef63a5849
parent742f4199d2f2271fa8080a65c1b86c15081e0a47
kvm: selftests: add sync_regs_test

This includes the infrastructure to map the test into the guest and
run code from the test program inside a VM.

Signed-off-by: Ken Hofsass <hofsass@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/lib/elf.c [new file with mode: 0644]
tools/testing/selftests/kvm/lib/io.c [new file with mode: 0644]
tools/testing/selftests/kvm/lib/x86.c
tools/testing/selftests/kvm/sync_regs_test.c [new file with mode: 0644]