]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/display/virtio-gpu.c
ui/console: Add placeholder flag to message surface
authorAkihiko Odaki <akihiko.odaki@gmail.com>
Thu, 25 Feb 2021 10:13:14 +0000 (19:13 +0900)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 4 Mar 2021 08:35:36 +0000 (09:35 +0100)
commitb5a087b071b6d4752234d8c190cc7f22f44ec2e9
tree5418155697d1a2fa255ec063a48573e4e788e627
parent4313739a57a34998ebaf032dcdda065c0105a939
ui/console: Add placeholder flag to message surface

The surfaces created with former qemu_create_message_surface
did not display the content from the guest and always contained
simple messages describing the reason.

A display backend may want to hide the window showing such a
surface. This change renames the function to
qemu_create_placeholder_surface, and adds "placeholder" flag; the
display can check the flag to decide to do anything special like
hiding the window.

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Message-Id: <20210225101316.83940-1-akihiko.odaki@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/vhost-user-gpu.c
hw/display/virtio-gpu.c
include/ui/console.h
ui/console.c
ui/vnc.c