hw/display: Allow vga_common_init() to return errors
commit6832deb8ff0807e0b46a8a67f5d2abfa36ca3b47
authorThomas Huth <thuth@redhat.com>
Thu, 17 Mar 2022 08:30:25 +0000 (17 09:30 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 18 Mar 2022 09:15:57 +0000 (18 10:15 +0100)
tree449b34641837d3930a2f6dcf645cda3696a4d432
parent5f2011be44b8d17f93680d01d617cd9a96678886
hw/display: Allow vga_common_init() to return errors

The vga_common_init() function currently cannot report errors to its
caller. But in the following patch, we'd need this possibility, so
let's change it to take an "Error **" as parameter for this.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220317083027.16688-3-thuth@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/ati.c
hw/display/cirrus_vga.c
hw/display/cirrus_vga_isa.c
hw/display/qxl.c
hw/display/vga-isa.c
hw/display/vga-mmio.c
hw/display/vga-pci.c
hw/display/vga.c
hw/display/vga_int.h
hw/display/virtio-vga.c
hw/display/vmware_vga.c