hw/display/vga-mmio: QOM'ify vga_mmio_init() as TYPE_VGA_MMIO
commit23f6e3b11be74abae77584a069ec710d719ac5a1
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 6 Dec 2021 22:45:27 +0000 (6 23:45 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 13 Jan 2022 09:58:54 +0000 (13 10:58 +0100)
tree97027c7906cada56253b899dc0ab47de15d827e8
parent6bd06f773163459706017d5fead84ae899e4ac16
hw/display/vga-mmio: QOM'ify vga_mmio_init() as TYPE_VGA_MMIO

Introduce TYPE_VGA_MMIO, a sysbus device.

While there is no change in the vga_mmio_init()
interface, this is a migration compatibility break
of the MIPS Acer Pica 61 Jazz machine (pica61).

Suggested-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20211206224528.563588-4-f4bug@amsat.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/vga-mmio.c
include/hw/display/vga.h