Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/kvm: remove stale TODO in xapic_state_test

The TODO about using the number of vCPUs instead of vcpu.id + 1
was already addressed by commit 376bc1b458c9 ("KVM: selftests: Don't
assume vcpu->id is '0' in xAPIC state test"). The comment is now
stale and can be removed.

Signed-off-by: Sukrut Heroorkar <hsukrut3@gmail.com>
Link: https://lore.kernel.org/r/20250908210547.12748-1-hsukrut3@gmail.com
Signed-off-by: Sean Christopherson <seanjc@google.com>

authored by

Sukrut Heroorkar and committed by
Sean Christopherson
ff86b48d c435978e

+2 -2
+2 -2
tools/testing/selftests/kvm/x86/xapic_state_test.c
··· 120 120 __test_icr(x, icr | i); 121 121 122 122 /* 123 - * Send all flavors of IPIs to non-existent vCPUs. TODO: use number of 124 - * vCPUs, not vcpu.id + 1. Arbitrarily use vector 0xff. 123 + * Send all flavors of IPIs to non-existent vCPUs. Arbitrarily use 124 + * vector 0xff. 125 125 */ 126 126 icr = APIC_INT_ASSERT | 0xff; 127 127 for (i = 0; i < 0xff; i++) {