]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
KVM: selftests: Make set_memory_region_test common to all architectures
authorSean Christopherson <sean.j.christopherson@intel.com>
Fri, 10 Apr 2020 23:17:06 +0000 (16:17 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Apr 2020 16:08:47 +0000 (12:08 -0400)
commit5b4f758f454b6e3d9c7182031631c745105ec24b
tree6d58f63fdcba9e4dff20f8bb739b9430a211cc35
parent8cc2dd637b890d75613387daf57af7e8f3a32e33
KVM: selftests: Make set_memory_region_test common to all architectures

Make set_memory_region_test available on all architectures by wrapping
the bits that are x86-specific in ifdefs.  A future testcase
to create the maximum number of memslots will be architecture
agnostic.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200410231707.7128-10-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/.gitignore
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/set_memory_region_test.c [new file with mode: 0644]
tools/testing/selftests/kvm/x86_64/set_memory_region_test.c [deleted file]