aboutsummaryrefslogtreecommitdiff
path: root/hw/display/virtio-vga-gl.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2021-10-07 23:12:42 +0100
committerLaurent Vivier <laurent@vivier.eu>2021-10-08 13:31:02 +0200
commitc047862acd502c305fbdc66a4a3fd717c04fa6d2 (patch)
tree2e32a43a06e2b71e9a06a6b8604a6ef0e3930069 /hw/display/virtio-vga-gl.c
parent7437b13eacfd05ed6817c2f05c4712ed618544e1 (diff)
macfb: update macfb.c to use the Error API best practices
As per the current Error API best practices, change macfb_commom_realize() to return a boolean indicating success to reduce errp boiler-plate handling code. Note that memory_region_init_ram_nomigrate() is also updated to use &error_abort to indicate a non-recoverable error, matching the behaviour recommended after similar discussions on memory API failures for the recent nubus changes. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20211007221253.29024-3-mark.cave-ayland@ilande.co.uk> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/display/virtio-vga-gl.c')
0 files changed, 0 insertions, 0 deletions