Received: from eggs.gnu.org ([2001:4830:134:3::10]:41273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xsvjh-0001X8-Dw for qemu-devel@nongnu.org; Mon, 24 Nov 2014 10:39:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XsvjY-0006se-Az for qemu-devel@nongnu.org; Mon, 24 Nov 2014 10:39:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsvjY-0006sQ-2B for qemu-devel@nongnu.org; Mon, 24 Nov 2014 10:39:24 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sAOFdMDi023759 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 24 Nov 2014 10:39:22 -0500 From: Markus Armbruster References: <1416840371-27646-1-git-send-email-akong@redhat.com> Date: Mon, 24 Nov 2014 16:39:17 +0100 In-Reply-To: <1416840371-27646-1-git-send-email-akong@redhat.com> (Amos Kong's message of "Mon, 24 Nov 2014 22:46:11 +0800") Message-ID: <8761e4wqu2.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH for-2.2] qmp: document input-send-event detail List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amos Kong Cc: lcapitulino@redhat.com, mtosatti@redhat.com, qemu-devel@nongnu.org, kraxel@redhat.com Amos Kong writes: > This patch documents what exactly input-send-event is supposed to do. > > Signed-off-by: Amos Kong > --- > qapi-schema.json | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/qapi-schema.json b/qapi-schema.json > index d0926d9..9aa19bc 100644 > --- a/qapi-schema.json > +++ b/qapi-schema.json > @@ -3249,7 +3249,18 @@ > # > # Send input event(s) to guest. > # > +# The VM must be running or suspended. > +# > +# Each event is sent to exactly one admissible input device. Such a > +# device must exist. If multiple admissible devices can handle an > +# event, which one gets it is unspecified, except as described below. > +# > # @console: #optional console to send event(s) to. > +# If @console is missing, only devices that aren't associated > +# with a console are admissible. > +# If @console is specified, it must exist, and both devices > +# associated with that console and devices not associated with a > +# console are admissible, but the former takes precedence. > # > # @events: List of InputEvent union. > # Competes with Gerd's "[PATCH] input: improve docs for input-send-event qmp command".