[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC v2 2/2] ui: Add a plain Wayland backend for Qemu UI
From: |
Eric Blake |
Subject: |
Re: [RFC v2 2/2] ui: Add a plain Wayland backend for Qemu UI |
Date: |
Tue, 14 Sep 2021 10:21:05 -0500 |
User-agent: |
NeoMutt/20210205-772-2b4c52 |
On Mon, Sep 13, 2021 at 03:20:36PM -0700, Vivek Kasireddy wrote:
> Cc: Gerd Hoffmann <kraxel@redhat.com>
> Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
> ---
> configure | 8 +-
> meson.build | 33 +++
> meson_options.txt | 2 +
> qapi/ui.json | 3 +
> ui/meson.build | 52 ++++
> ui/wayland.c | 628 ++++++++++++++++++++++++++++++++++++++++++++++
> 6 files changed, 725 insertions(+), 1 deletion(-)
> create mode 100644 ui/wayland.c
UI review:
> +++ b/qapi/ui.json
> @@ -1112,6 +1112,8 @@
> # DRI device. Graphical display need to be paired with
> # VNC or Spice. (Since 3.1)
> #
> +# @wayland: The Wayland user interface.
Missing a '(since 6.2)' tag.
> +#
> # @curses: Display video output via curses. For graphics device
> # models which support a text mode, QEMU can display this
> # output using a curses/ncurses interface. Nothing is
> @@ -1135,6 +1137,7 @@
> { 'name': 'none' },
> { 'name': 'gtk', 'if': 'CONFIG_GTK' },
> { 'name': 'sdl', 'if': 'CONFIG_SDL' },
> + { 'name': 'wayland', 'if': 'CONFIG_WAYLAND' },
> { 'name': 'egl-headless',
> 'if': { 'all': ['CONFIG_OPENGL', 'CONFIG_GBM'] } },
> { 'name': 'curses', 'if': 'CONFIG_CURSES' },
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org