]> git.proxmox.com Git - mirror_qemu.git/commit - ui/console.c
console: add qemu_create_displaysurface_guestmem
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 19 Jun 2014 06:46:08 +0000 (08:46 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 5 Sep 2014 11:27:11 +0000 (13:27 +0200)
commita77549b3ffcc24c32ee4e8b5ec32049186120360
treee0be32d88d5d3c4f1361cf525aa05112b5a3a87d
parent30f1e661b640de58ba1e8178f7f2290179a7e01c
console: add qemu_create_displaysurface_guestmem

This patch adds a qemu_create_displaysurface_guestmem helper function.
Works simliar to qemu_create_displaysurface_from, but accepts a
guest address instead of a host pointer and it handles
cpu_physical_memory_{map,unmap} for you.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
include/ui/console.h
ui/console.c