Hi,
On Mon, 2026-04-27 at 09:56 +0100, Daniel P. Berrangé wrote:
> I notice that the current code in git does not provide any command
> line
> option to turn on/off the GTK clipboard sync. Considering that VMs
> are
> often used for untrusted workloads, or workloads that are less
> trusted
> then the host OS, I would consider this GTK impl to be a security
> flaw
> in QEMU if re-enabled as-is.
>
> IMHO, before we remove the ifdefs in the code, the "DisplayGTK"
> struct
> needs to gain settings to control the clipboard synchronization, and
> it
> should default to disabled.
I added the option to the second patch in v5. Qemu now needs
-display gtk,clipboard=on
to turn the clipboard sharing on.
Regards,
--
Jindrich Makovicka