OSDN Git Service

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)
commit6089ae0bd5e15fc150adce5bc694e87e00513825
tree68ef0918d9b8680cd4b9de9109a090eef63a5849
parent783e9e51266ebb7f78c606a53cb0fa41bb7c31a0
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]