]> git.proxmox.com Git - mirror_qemu.git/commit - ui/console.c
console: add graphic_console_set_hwops
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 24 Sep 2014 15:05:27 +0000 (17:05 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 29 Sep 2014 08:20:09 +0000 (10:20 +0200)
commit1c1f94984430f5b9e91b01b75be23385122039f6
treec0df378d7e70db3f077f51fb681d58c7c5ea8a05
parent81ab11a7a524d12412a59ef49c6b270671e62ea0
console: add graphic_console_set_hwops

Add a function to allow display emulations to switch the hwops
function pointers.  This is useful for devices which have two
completely different operation modes.  Typical case is the vga
compatibility mode vs. native mode in qxl and the upcoming
virtio-vga device.

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