]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Drop a duplicate TEST_ASSERT() in vm_nr_pages_required()
authorSean Christopherson <seanjc@google.com>
Mon, 13 Jun 2022 16:19:41 +0000 (16:19 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Jun 2022 16:44:46 +0000 (12:44 -0400)
commit1a6f4de01e02986b68fb84cf10528374dcc97bce
tree9b5c8b5bca2ac75e2446d977ddaec5fc2fd0fb4d
parent846e7b13056f12b10fbb3671dae05f22d08cc537
KVM: selftests: Drop a duplicate TEST_ASSERT() in vm_nr_pages_required()

Remove a duplicate TEST_ASSERT() on the number of runnable vCPUs in
vm_nr_pages_required() that snuck in during a rebase gone bad.

Reported-by: Andrew Jones <drjones@redhat.com>
Fixes: 07a082630784 ("KVM: selftests: Move per-VM/per-vCPU nr pages calculation to __vm_create()")
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220613161942.1586791-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/lib/kvm_util.c