]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: Drop sanity check that per-VM list of irqfds is unique
authorSean Christopherson <seanjc@google.com>
Thu, 22 May 2025 23:52:20 +0000 (16:52 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 23 Jun 2025 16:50:59 +0000 (09:50 -0700)
commitb599d44a71f1aa1acff54b05e4c0e60ea82ed90c
tree3630ba6a686293f71cdc425ac5250920547a99f5
parent2cdd64cbf9906f9d2d52ef96e1471992ff6c27ec
KVM: Drop sanity check that per-VM list of irqfds is unique

Now that the eventfd's waitqueue ensures it has at most one priority
waiter, i.e. prevents KVM from binding multiple irqfds to one eventfd,
drop KVM's sanity check that eventfds are unique for a single VM.

Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250522235223.3178519-11-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
virt/kvm/eventfd.c