Skip to content

KVM: Take missing slots_lock for kvm_io_bus_unregister_dev()

Takuya Yoshikawa kvm kvm-ia64 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 7 repliesApplied

Changelog from the cover letter

moved slots_lock and irq_lock aquisition to their caller following Marcelo's advice.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3KVM: Take missing slots_lock for kvm_io_bus_unregister_dev()arch/ia64/kvm/kvm-ia64.c arch/x86/kvm/x86.c+6 -01 reply
2/3KVM: Centralize slots_lock aquisition during KVM_CREATE_IRQCHIParch/ia64/kvm/kvm-ia64.c arch/x86/kvm/i8259.c arch/x86/kvm/x86.c +1 more+4 -86 replies
3/3KVM: Centralize irq_lock aquisition during KVM_CREATE_IRQCHIParch/ia64/kvm/kvm-ia64.c arch/x86/kvm/x86.c virt/kvm/irq_comm.c+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH-v2 0/3] KVM: Take missing slots_lock for kvm_io_bus_unregister_dev()

This patchset consists of three patches:

[1/3] KVM: Take missing slots_lock for kvm_io_bus_unregister_dev() [2/3] KVM: Centralize slots_lock aquisition during KVM_CREATE_IRQCHIP [3/3] KVM: Centralize irq_lock aquisition during KVM_CREATE_IRQCHIP

Though patch 1 is a fix, this is only for an error handling path. Patches 2,3 are just for coding style consistency. So pick up those whitch match your policy.

Changelog:
moved slots_lock and irq_lock aquisition to their caller following Marcelo's advice.

Thanks,
Takuya