mbox series

[v2,0/3] hw: Use qdev gpio rather than qemu_allocate_irqs()

Message ID 20200512074813.29992-1-f4bug@amsat.org
Headers show
Series hw: Use qdev gpio rather than qemu_allocate_irqs() | expand

Message

Philippe Mathieu-Daudé May 12, 2020, 7:48 a.m. UTC
Use a coccinelle script to convert few qemu_allocate_irqs()
calls to the qdev gpio API.

One memory leak removed in hw/openrisc/pic_cpu.c

Since v1:
- Referrenced Coverity CID (Stafford)
- Reword AHCI description (Zoltan)

Philippe Mathieu-Daudé (3):
  hw/ide/ahci: Use qdev gpio rather than qemu_allocate_irqs()
  hw/mips/mips_int: Use qdev gpio rather than qemu_allocate_irqs()
  hw/openrisc/pic_cpu: Use qdev gpio rather than qemu_allocate_irqs()

 hw/ide/ahci.c         | 6 ++----
 hw/mips/mips_int.c    | 6 ++----
 hw/openrisc/pic_cpu.c | 5 ++---
 3 files changed, 6 insertions(+), 11 deletions(-)