]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: SVM: Don't check for assigned device(s) when updating affinity
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 22:45:47 +0000 (15:45 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 23 Jun 2025 16:50:40 +0000 (09:50 -0700)
commitf5998661ff73b5e76974fd7913c1ccc3ff0a07a0
tree33fd5a080208de61446c275af03ca063908b49e2
parent6df262f915abc0ec988b203c696845b76a7bc7b4
KVM: SVM: Don't check for assigned device(s) when updating affinity

Don't bother checking if a VM has an assigned device when updating AVIC
vCPU affinity, querying ir_list is just as cheap and nothing prevents
racing with changes in device assignment.

Link: https://lore.kernel.org/r/20250611224604.313496-46-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/avic.c