kvm: minor cleanups in kvm_close and kvm_irqchip_release_virq
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | kvm: remove redundant check in kvm_closeaccel/ | +5 | 0 replies | |
| 2/2 | kvm: fix kvm_irqchip_release_virq loop after swap-removeaccel/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] kvm: minor cleanups in kvm_close and kvm_irqchip_release_virq
Two small cleanups in kvm-all.c:
- Patch 1 removes a redundant null/fd check in kvm_close() that can never be true once the early-return guard at function entry has already passed.
- Patch 2 fixes an off-by-one in kvm_irqchip_release_virq(): after a swap-remove the newly placed entry at the same index was never re-examined, so a duplicate GSI could be silently left in the routing table.
Bin Guo (2):
kvm: remove redundant check in kvm_close
kvm: fix kvm_irqchip_release_virq loop after swap-remove
accel/kvm/kvm-all.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
2.50.1 (Apple Git-155)