]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Use perf_test_destroy_vm in memslot_modification_stress_test
authorDavid Matlack <dmatlack@google.com>
Thu, 11 Nov 2021 00:12:57 +0000 (00:12 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Nov 2021 12:43:28 +0000 (07:43 -0500)
commit2412d3484c5c214dd08c0a23f9698a5afae5a931
treebbe657627e3462cfe3d89f3f08c2928bc64975e9
parente707cd01828d550f06053ee306938899ab5a3cd2
KVM: selftests: Use perf_test_destroy_vm in memslot_modification_stress_test

Change memslot_modification_stress_test to use perf_test_destroy_vm
instead of manually calling ucall_uninit and kvm_vm_free.

No functional change intended.

Signed-off-by: David Matlack <dmatlack@google.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Message-Id: <20211111001257.1446428-5-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/memslot_modification_stress_test.c