]> git.proxmox.com Git - mirror_qemu.git/commit - ui/console.c
console: displaystate init revamp
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 7 Mar 2013 16:08:29 +0000 (17:08 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 16 Apr 2013 07:03:47 +0000 (09:03 +0200)
commit64840c66b702cc4c809c72d8ad5d26861dd7fd8d
treef566c08b0f58ef7f9ad5a4d78d17b1499388a0be
parent437fe1061be3da49b0b05ed2f0c9c50e2255c3fe
console: displaystate init revamp

We have only one DisplayState, so there is no need for the "next"
linking, rip it.  Also consolidate all displaystate initialization
into init_displaystate().  This function is called by vl.c after
creating the devices (and thus all QemuConsoles) and before
initializing DisplayChangeListensers (aka gtk/sdl/vnc/spice ui).

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