qemu-e2k/hw/m68k
Peter Maydell 07e39012fe hw/m68k/q800.c: Make the GLUE chip an actual QOM device
The handling of the GLUE (General Logic Unit) device is
currently open-coded. Make this into a proper QOM device.

This minor piece of modernisation gets rid of the free
floating qemu_irq array 'pic', which Coverity points out
is technically leaked when we exit the machine init function.
(The replacement glue device is not leaked because it gets
added to the sysbus, so it's accessible via that.)

Fixes: Coverity CID 1421883
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Laurent vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20201106235109.7066-3-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2020-12-12 18:06:01 +01:00
..
an5206.c
bootinfo.h
Kconfig hw/m68k/q800: Don't connect two qemu_irqs directly to the same input 2020-12-12 18:05:30 +01:00
mcf5206.c m68k: do not use ram_size global 2020-12-10 12:15:08 -05:00
mcf5208.c vl: extract softmmu/datadir.c 2020-12-10 12:15:18 -05:00
mcf_intc.c
meson.build
next-cube.c
next-kbd.c
q800.c hw/m68k/q800.c: Make the GLUE chip an actual QOM device 2020-12-12 18:06:01 +01:00