]> 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)
commit297d765d150f35dbc598e97c73241d2fdd05a02c
treefe3eb3db82169c096b2c636602d78a98f0bc32c8
parent61513ecbd86212ee78ac5774b88ab1f15c7248ec
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]