diff options
| author | Sean Christopherson <[email protected]> | 2025-04-04 19:38:19 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2025-04-24 13:52:31 +0000 |
| commit | f1fb088d9cecde5c3066d8ff8846789667519b7d (patch) | |
| tree | 615e489a375b48dba29049161dcb87049694244e /rust/helpers/build_bug.c | |
| parent | KVM: x86: Explicitly treat routing entry type changes as changes (diff) | |
| download | kernel-f1fb088d9cecde5c3066d8ff8846789667519b7d.tar.gz kernel-f1fb088d9cecde5c3066d8ff8846789667519b7d.zip | |
KVM: x86: Take irqfds.lock when adding/deleting IRQ bypass producer
Take irqfds.lock when adding/deleting an IRQ bypass producer to ensure
irqfd->producer isn't modified while kvm_irq_routing_update() is running.
The only lock held when a producer is added/removed is irqbypass's mutex.
Fixes: 872768800652 ("KVM: x86: select IRQ_BYPASS_MANAGER")
Cc: [email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
