qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-2.2] qmp: document input-send-event detail
@ 2014-11-24 14:46 Amos Kong
  2014-11-24 15:39 ` Markus Armbruster
  0 siblings, 1 reply; 2+ messages in thread
From: Amos Kong @ 2014-11-24 14:46 UTC (permalink / raw)
  To: qemu-devel, kraxel; +Cc: mtosatti, armbru, lcapitulino

This patch documents what exactly input-send-event is supposed to do.

Signed-off-by: Amos Kong <akong@redhat.com>
---
 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.
 #
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-24 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-24 14:46 [Qemu-devel] [PATCH for-2.2] qmp: document input-send-event detail Amos Kong
2014-11-24 15:39 ` Markus Armbruster

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).