summary refs log tree commit diff stats
path: root/hw/blizzard.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2012-05-21 16:41:37 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2012-09-05 15:48:57 -0300
commitd7098135d4baac8141b2e76f2daa8a7f61599c72 (patch)
tree8f9c1434a55b3f7305f7d440b080ce50e716df1f /hw/blizzard.c
parent75d789f8d38be693bbee3e77b558e59012e33997 (diff)
downloadfocaccia-qemu-d7098135d4baac8141b2e76f2daa8a7f61599c72.tar.gz
focaccia-qemu-d7098135d4baac8141b2e76f2daa8a7f61599c72.zip
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/blizzard.c')
-rw-r--r--hw/blizzard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/blizzard.c b/hw/blizzard.c
index 29074c4fa7..a2b90537c9 100644
--- a/hw/blizzard.c
+++ b/hw/blizzard.c
@@ -933,7 +933,7 @@ static void blizzard_update_display(void *opaque)
 }
 
 static void blizzard_screen_dump(void *opaque, const char *filename,
-                                 bool cswitch)
+                                 bool cswitch, Error **errp)
 {
     BlizzardState *s = (BlizzardState *) opaque;