console: track gl_block state in QemuConsole
commitf607867cefdbf1bcb2bd4449ba96cae4994f6224
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 23 Sep 2016 07:50:27 +0000 (23 09:50 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 28 Sep 2016 10:49:35 +0000 (28 12:49 +0200)
treeb3b66e6bc9fd9aef002fde5f7cdc47cd266ab47c
parentcd958edb1fae85d0c7d1e1acbff82d22724e8d64
console: track gl_block state in QemuConsole

Keep track of gl_block state (added in bba19b8 console: block rendering
until client is done) in QemuConsole and allow to query it.  This way
we can avoid state inconsistencies in case different code paths make use
of this.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 1474617028-3979-2-git-send-email-kraxel@redhat.com
include/ui/console.h
ui/console.c