]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Add test for user space MSR handling
authorAlexander Graf <graf@amazon.com>
Fri, 25 Sep 2020 14:34:22 +0000 (16:34 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Sep 2020 11:58:45 +0000 (07:58 -0400)
commitfbf1a7f9fc37c38161baebf77509e0e899993282
treefe3eb3db82169c096b2c636602d78a98f0bc32c8
parentaad6adf4e3df41c6dac26008ff9c247c999bf703
KVM: selftests: Add test for user space MSR handling

Now that we have the ability to handle MSRs from user space and also to
select which ones we do want to prevent in-kernel KVM code from handling,
let's add a selftest to show case and verify the API.

Signed-off-by: Alexander Graf <graf@amazon.com>
Message-Id: <20200925143422.21718-9-graf@amazon.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/.gitignore
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/x86_64/user_msr_test.c [new file with mode: 0644]