Re: [PATCH 2/2] input-linux: Allow to toggle grab from QMP

2021-05-04 Thread Gerd Hoffmann
> @@ -488,6 +488,8 @@ > # > # @repeat: enables auto-repeat events (default: false) > # > +# @grab-active: if true, device is grabbed (default: true) > +# > # @grab-toggle: the key or key combination that toggles device grab > # (default: ctrl-ctrl) > # Can grab-active be added

[PATCH 2/2] input-linux: Allow to toggle grab from QMP

2021-05-01 Thread Rainer Müller
This patch allows to boot a guest without the input-linux device being grabbed immediately from the host. This is useful when the guest is automatically started, but is supposed to stay in the background until the user actively switches to it with a key combination. In this usage example the host