diff options
| author | Wainer dos Santos Moschetta <[email protected]> | 2020-04-10 16:17:07 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-04-15 12:08:47 -0400 |
| commit | 909e0abaac0f3331e2016d4b9b19001a390d6019 (patch) | |
| tree | 63bc9d39da60980ef060e9eabe98d83f0a92e3ca /tools/perf/scripts/python | |
| parent | 5b4f758f454b6e3d9c7182031631c745105ec24b (diff) | |
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 <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions