diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-02-24 12:43:44 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-02-24 13:36:04 -0600 |
commit | 167351020420c285b67cdf0603501b3d3b15e3f7 (patch) | |
tree | a75e12bf19e81e797b48c7bfdad9146e8ddc157a /console.c | |
parent | 9a51f5b0677381ed87d413e969ea72adf1f17f5f (diff) | |
download | qemu-167351020420c285b67cdf0603501b3d3b15e3f7.zip qemu-167351020420c285b67cdf0603501b3d3b15e3f7.tar.gz qemu-167351020420c285b67cdf0603501b3d3b15e3f7.tar.bz2 |
Remove screendump dummy functions.
The code in console.c verifies whenever a screen_dump function
pointer is present before calling it, so there is no need to supply an
dummy function. Remove them. Also report an error to notify the user
that he didn't got a screenshot.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'console.c')
-rw-r--r-- | console.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -184,6 +184,8 @@ void vga_hw_screen_dump(const char *filename) console_select(0); if (consoles[0] && consoles[0]->hw_screen_dump) { consoles[0]->hw_screen_dump(consoles[0]->hw, filename); + } else { + error_report("screen dump not implemented"); } if (previous_active_console) { |