linux_dsm_epyc7002/tools/testing/selftests
Wainer dos Santos Moschetta 909e0abaac selftests: kvm: Add testcase for creating max number of memslots
This patch introduces test_add_max_memory_regions(), which checks
that a VM can have added memory slots up to the limit defined in
KVM_CAP_NR_MEMSLOTS. Then attempt to add one more slot to
verify it fails as expected.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200410231707.7128-11-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-04-15 12:08:47 -04:00
..
android selftests: android: Fix custom install from skipping test progs 2020-03-13 13:46:55 -06:00
arm64
bpf Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-03-30 19:52:37 -07:00
breakpoints
capabilities
cgroup selftests: Uninitialized variable in test_cgcore_proc_migration() 2020-01-09 16:21:23 -07:00
clone3
cpu-hotplug
cpufreq
dmabuf-heaps dma-buf: heaps: Use _IOCTL_ for userspace IOCTL identifier 2019-12-17 21:37:40 +05:30
drivers selftests: mlxsw: Add test cases for devlink-trap policers 2020-03-30 17:54:59 -07:00
efivarfs
exec
filesystems selftests: filesystems/epoll: fix build error 2019-12-23 10:52:40 -07:00
firmware selftests: firmware: Add firmware_request_platform tests 2020-03-20 14:54:04 +01:00
ftrace linux-kselftest-5.7-rc1 2020-04-01 16:09:12 -07:00
futex selftests: use LDLIBS for libraries instead of LDFLAGS 2020-02-13 13:14:34 -07:00
gpio
ia64
intel_pstate
ipc
ir
kcmp
kexec
kmod
kselftest selftests: settings: tests can be in subsubdirs 2020-01-27 10:49:52 -07:00
kvm selftests: kvm: Add testcase for creating max number of memslots 2020-04-15 12:08:47 -04:00
lib
livepatch selftests: Install settings files to fix TIMEOUT failures 2020-02-20 08:56:42 -07:00
lkdtm selftest/lkdtm: Use local .gitignore 2020-03-02 08:39:39 -07:00
locking
media_tests
membarrier
memfd selftests: Fix memfd to support relocatable build (O=objdir) 2020-03-26 15:29:30 -06:00
memory-hotplug
mount
mqueue
net selftests: mlxsw: Add test cases for devlink-trap policers 2020-03-30 17:54:59 -07:00
netfilter selftests: netfilter: add nfqueue test case 2020-03-24 20:00:12 +01:00
nsfs
ntb
openat2 selftests: openat2: fix build error on newer glibc 2020-02-13 13:15:45 -07:00
pidfd selftests: pidfd: Add pidfd_fdinfo_test in .gitignore 2020-02-28 13:35:05 +01:00
powerpc selftests/eeh: Bump EEH wait time to 60s 2020-01-26 00:11:37 +11:00
prctl
proc
pstore
ptp
ptrace selftests/ptrace: add test cases for dead-locks 2020-03-25 10:04:01 -05:00
rcutorture Merge branches 'doc.2020.02.27a', 'fixes.2020.03.21a', 'kfree_rcu.2020.02.20a', 'locktorture.2020.02.20a', 'ovld.2020.02.20a', 'rcu-tasks.2020.02.20a', 'srcu.2020.02.20a' and 'torture.2020.02.20a' into HEAD 2020-03-21 17:15:11 -07:00
resctrl selftests/resctrl: fix spelling mistake "Errror" -> "Error" 2020-03-13 13:29:22 -06:00
rseq selftests/rseq: Fix out-of-tree compilation 2020-02-20 08:57:12 -07:00
rtc selftests: Install settings files to fix TIMEOUT failures 2020-02-20 08:56:42 -07:00
safesetid selftests: safesetid: Fix Makefile to set correct test program 2019-12-09 10:53:04 -07:00
seccomp linux-kselftest-5.7-rc1 2020-04-01 16:09:12 -07:00
sigaltstack
size kselftest: Minimise dependency of get_size on C library interfaces 2020-01-16 13:08:26 -07:00
sparc64
splice
static_keys
sync
sysctl
tc-testing selftests: qdiscs: RED: Add nodrop tests 2020-03-14 21:03:46 -07:00
timens linux-kselftest-5.7-rc1 2020-04-01 16:09:12 -07:00
timers
tmpfs
tpm2 Kernel selftests: tpm2: check for tpm support 2020-02-10 18:00:40 -07:00
uevent
user
vDSO
vm selftests/vm: fix map_hugetlb length used for testing read and write 2020-04-02 09:35:32 -07:00
watchdog
wireguard wireguard: noise: error out precomputed DH during handshake rather than config 2020-03-18 18:51:43 -07:00
x86 selftests/x86/ptrace_syscall_32: Fix no-vDSO segfault 2020-03-20 11:28:47 +01:00
zram
.gitignore selftests/bpf: Add test for "bpftool feature" command 2020-02-26 18:34:34 +01:00
gen_kselftest_tar.sh
kselftest_harness.h selftests/harness: Handle timeouts cleanly 2020-03-26 15:27:52 -06:00
kselftest_install.sh
kselftest_module.h
kselftest.h
lib.mk linux-kselftest-5.7-rc1 2020-04-01 16:09:12 -07:00
Makefile linux-kselftest-5.7-rc1 2020-04-01 16:09:12 -07:00