selftests/x86: Add a basic selftest for ioperm
authorAndy Lutomirski <luto@kernel.org>
Wed, 22 Feb 2017 15:36:17 +0000 (07:36 -0800)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 1 Mar 2017 16:03:23 +0000 (17:03 +0100)
commit0eb1d0fa6a68324b51db4f7ae16d9b042c5b2de4
tree06b5fed83bfa8e325ac3471fc25aae372c6a16c8
parentb7ceaec112aa35aa287325754d8c52b8304892cd
selftests/x86: Add a basic selftest for ioperm

This doesn't fully exercise the interaction between KVM and ioperm(),
but it does test basic functionality.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
tools/testing/selftests/x86/Makefile
tools/testing/selftests/x86/ioperm.c [new file with mode: 0644]