summary refs log tree commit diff stats
path: root/include/ui/console.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2018-11-22 17:03:09 +0000
committerGerd Hoffmann <kraxel@redhat.com>2019-01-10 08:55:17 +0100
commit22571ffa0ca7abb5c7f188ac9cc18fc47e321b05 (patch)
treef683cf2287ca51e89c53372a8ea691dba8ba6f7f /include/ui/console.h
parent1b63665c2c0e0d52735e0dd5217f109fe0dd2322 (diff)
downloadfocaccia-qemu-22571ffa0ca7abb5c7f188ac9cc18fc47e321b05.tar.gz
focaccia-qemu-22571ffa0ca7abb5c7f188ac9cc18fc47e321b05.zip
ui/console: Remove qemu_create_display_surface_guestmem()
The qemu_create_display_surface_guestmem() function was added in
commit a77549b3ffcc24c32ee4e but apparently never used. Remove it.

(The API of this function is in any case awkward as a generic
function: it assumes that a physical address uniquely identifies
a piece of memory in the system, which is mostly but not
always true.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20181122170309.4856-1-peter.maydell@linaro.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui/console.h')
-rw-r--r--include/ui/console.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index c17803c530..853fcf4eb7 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -257,10 +257,6 @@ DisplaySurface *qemu_create_displaysurface_from(int width, int height,
                                                 pixman_format_code_t format,
                                                 int linesize, uint8_t *data);
 DisplaySurface *qemu_create_displaysurface_pixman(pixman_image_t *image);
-DisplaySurface *qemu_create_displaysurface_guestmem(int width, int height,
-                                                    pixman_format_code_t format,
-                                                    int linesize,
-                                                    uint64_t addr);
 DisplaySurface *qemu_create_message_surface(int w, int h,
                                             const char *msg);
 PixelFormat qemu_default_pixelformat(int bpp);