diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2012-05-21 16:41:37 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-09-05 15:48:57 -0300 |
commit | d7098135d4baac8141b2e76f2daa8a7f61599c72 (patch) | |
tree | 8f9c1434a55b3f7305f7d440b080ce50e716df1f /hw/omap_lcdc.c | |
parent | 75d789f8d38be693bbee3e77b558e59012e33997 (diff) | |
download | hqemu-d7098135d4baac8141b2e76f2daa8a7f61599c72.zip hqemu-d7098135d4baac8141b2e76f2daa8a7f61599c72.tar.gz |
console: vga_hw_screen_dump_ptr: take Error argument
All devices that register a screen dump callback via
graphic_console_init() are updated.
The new argument is not used in this commit. Error handling will
be added to each device individually later.
This change is a preparation to convert the screendump command
to the QAPI.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hw/omap_lcdc.c')
-rw-r--r-- | hw/omap_lcdc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/omap_lcdc.c b/hw/omap_lcdc.c index 4a08e9d..39b78cd 100644 --- a/hw/omap_lcdc.c +++ b/hw/omap_lcdc.c @@ -264,7 +264,8 @@ static int ppm_save(const char *filename, uint8_t *data, return 0; } -static void omap_screen_dump(void *opaque, const char *filename, bool cswitch) +static void omap_screen_dump(void *opaque, const char *filename, bool cswitch, + Error **errp) { struct omap_lcd_panel_s *omap_lcd = opaque; |