diff options
author | Claudio Fontana <cfontana@suse.de> | 2022-11-21 14:55:38 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-11-23 12:15:06 +0100 |
commit | 29e0bfffab87d89c65c0890607e203b1579590a3 (patch) | |
tree | ef4001c447e8ca63c72ac76535e46eccf5db5206 /meson_options.txt | |
parent | fb977a8174184c643c435c26d376793acb11c82e (diff) | |
download | qemu-29e0bfffab87d89c65c0890607e203b1579590a3.zip qemu-29e0bfffab87d89c65c0890607e203b1579590a3.tar.gz qemu-29e0bfffab87d89c65c0890607e203b1579590a3.tar.bz2 |
gtk: disable GTK Clipboard with a new meson option
The GTK Clipboard implementation may cause guest hangs.
Therefore implement new configure switch: --enable-gtk-clipboard,
as a meson option disabled by default, which warns in the help
text about the experimental nature of the feature.
Regenerate the meson build options to include it.
The initialization of the clipboard is gtk.c, as well as the
compilation of gtk-clipboard.c are now conditional on this new
option to be set.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1150
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
Message-Id: <20221121135538.14625-1-cfontana@suse.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 6612817..4b749ca 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -219,6 +219,13 @@ option('vnc_sasl', type : 'feature', value : 'auto', description: 'SASL authentication for VNC server') option('vte', type : 'feature', value : 'auto', description: 'vte support for the gtk UI') + +# GTK Clipboard implementation is disabled by default, since it may cause hangs +# of the guest VCPUs. See gitlab issue 1150: +# https://gitlab.com/qemu-project/qemu/-/issues/1150 + +option('gtk_clipboard', type: 'feature', value : 'disabled', + description: 'clipboard support for the gtk UI (EXPERIMENTAL, MAY HANG)') option('xkbcommon', type : 'feature', value : 'auto', description: 'xkbcommon support') option('zstd', type : 'feature', value : 'auto', |