diff options
author | Gautam Menghani <gautammenghani201@gmail.com> | 2022-10-17 23:28:19 +0530 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2022-11-16 16:58:58 -0800 |
commit | 376bc1b458c9a6db347c70f02fa6eb8b5f187455 (patch) | |
tree | fe8a19cf877b8b6a4487185dd81fa7f849b1df7d /tools/testing/selftests/kvm/Makefile | |
parent | 2115713cfab05dd6efd48ad6bf56e67f556dcec5 (diff) |
KVM: selftests: Don't assume vcpu->id is '0' in xAPIC state test
In xapic_state_test's test_icr(), explicitly skip iterations that would
match vcpu->id instead of assuming vcpu->id is '0', so that IPIs are
are correctly sent to non-existent vCPUs.
Suggested-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/kvm/YyoZr9rXSSMEtdh5@google.com
Signed-off-by: Gautam Menghani <gautammenghani201@gmail.com>
Link: https://lore.kernel.org/r/20221017175819.12672-1-gautammenghani201@gmail.com
[sean: massage shortlog and changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/testing/selftests/kvm/Makefile')
0 files changed, 0 insertions, 0 deletions