[PATCH RESEND v2 1/2] KVM: selftests: Keep track of memslots more efficiently