kvm: selftests: Add platform_info_test
authorDrew Schmitt <dasch@google.com>
Mon, 20 Aug 2018 17:32:16 +0000 (10:32 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Sep 2018 22:51:47 +0000 (00:51 +0200)
commit8b56ee91ffc88ea01400c012e10fe22a9d233265
tree5d322afed8bcabb09c69285888ad1024b04d2fa1
parent6fbbde9a1969dfb476467ebf69a475095ef3fd4d
kvm: selftests: Add platform_info_test

Test guest access to MSR_PLATFORM_INFO when the capability is enabled
or disabled.

Signed-off-by: Drew Schmitt <dasch@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/.gitignore
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/platform_info_test.c [new file with mode: 0644]