summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/Makefile
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2018-03-28 09:45:34 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2018-04-04 19:11:00 +0200
commit6089ae0bd5e15fc150adce5bc694e87e00513825 (patch)
tree68ef0918d9b8680cd4b9de9109a090eef63a5849 /tools/testing/selftests/kvm/Makefile
parent783e9e51266ebb7f78c606a53cb0fa41bb7c31a0 (diff)
downloadlinux-6089ae0bd5e15fc150adce5bc694e87e00513825.tar.gz
linux-6089ae0bd5e15fc150adce5bc694e87e00513825.tar.bz2
linux-6089ae0bd5e15fc150adce5bc694e87e00513825.zip
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>
Diffstat (limited to 'tools/testing/selftests/kvm/Makefile')
-rw-r--r--tools/testing/selftests/kvm/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile
index 6aade26e9ca2..dc44de904797 100644
--- a/tools/testing/selftests/kvm/Makefile
+++ b/tools/testing/selftests/kvm/Makefile
@@ -3,10 +3,11 @@ all:
top_srcdir = ../../../../
UNAME_M := $(shell uname -m)
-LIBKVM = lib/assert.c lib/kvm_util.c lib/sparsebit.c
+LIBKVM = lib/assert.c lib/elf.c lib/io.c lib/kvm_util.c lib/sparsebit.c
LIBKVM_x86_64 = lib/x86.c
TEST_GEN_PROGS_x86_64 = set_sregs_test
+TEST_GEN_PROGS_x86_64 += sync_regs_test
TEST_GEN_PROGS += $(TEST_GEN_PROGS_$(UNAME_M))
LIBKVM += $(LIBKVM_$(UNAME_M))