qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] x-input-send-event marked as experimental
Date: Mon, 21 Dec 2015 09:53:32 -0200	[thread overview]
Message-ID: <20151221115331.GA24823@amt.cnet> (raw)
In-Reply-To: <874mffy19e.fsf@blackfin.pond.sub.org>

On Fri, Dec 18, 2015 at 09:01:33PM +0100, Markus Armbruster wrote:
> Marcelo Tosatti <mtosatti@redhat.com> writes:
> 
> > Gerd,
> >
> > commit df5b2adb7398d71016ee469f71e52075ed95e04e
> > Author: Gerd Hoffmann <kraxel@redhat.com>
> > Date:   Tue Nov 25 14:54:17 2014 +0100
> >
> >     input: move input-send-event into experimental namespace
> >     
> >     Ongoing discussions on how we are going to specify the console,
> >     so tag the command as experiental so we can refine things in
> >     the 2.3 development cycle.
> >
> > So what is the problem here again? 
> > input-send-event can send an input event to a 
> > particular console, so that (the console number)
> > has to be specified somehow.
> >
> > But, its already there, you can specify the console:
> >
> > -{ 'command': 'input-send-event',
> > +{ 'command': 'x-input-send-event',
> >    'data': { '*console':'int', 'events': [ 'InputEvent' ] } }
> >
> > So what its waiting for to be moved out of experimental status?
> 
> See
> 
> * http://lists.gnu.org/archive/html/qemu-devel/2014-11/msg03425.html
>   Message-ID: <87zjbgvbp0.fsf@blackfin.pond.sub.org>
>   and the thread around it

There are multiple points, the reason is not clear to me (i am looking
for the reason why this has been marked as experimental, as there is not
much ambiguity in the meaning of "sending an event to an input device".

Is it because console numbers should not be exposed?

"Begs the question why we're using console numbers in one place (QMP) and
qdev IDs in another (command line).  Why can't we use one of them
everywhere?  Or maybe support both everywhere?"
 
> * http://lists.gnu.org/archive/html/qemu-devel/2015-11/msg02935.html
>   Message-ID: <1447319343.1400.39.camel@redhat.com>

"The latter would be consistent with how we are doing input routing,
i.e.
grouping display and input devices to a seat for multiseat setups (see
docs/multiseat.txt for more details).

The consoles are already present in the qom tree
as /backend/console[<index>] nodes, and they have device + head
children.  So qom users can map console=<index> to
display=<id>,head=<nr> and visa versa already.  So from a functionality
point of view it doesn't really matter, it is largely a matter of
taste ..."

> * commit 513e7cd input: Document why x-input-send-event is still
>   experimental

This explains nothing.

-# Note: this command is experimental, and not a stable API.
+# Note: this command is experimental, and not a stable API.  Things that
+# might change before it becomes stable include the spelling of enum
+# values for InputButton and InputAxis, and the notion of how to designate
+# which console will receive the event.
 #

---

Ok, so can't find an actual argument for this 
experimental flag at this point.

  reply	other threads:[~2015-12-21 11:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-18 19:20 [Qemu-devel] x-input-send-event marked as experimental Marcelo Tosatti
2015-12-18 20:01 ` Markus Armbruster
2015-12-21 11:53   ` Marcelo Tosatti [this message]
2016-01-12  9:54     ` Markus Armbruster
2016-01-12 10:39       ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151221115331.GA24823@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=armbru@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).