qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Owen smith <owen.smith@citrix.com>
To: xen-devel@lists.xen.org
Cc: stefano.stabellini@eu.citrix.com, qemu-devel@nongnu.org,
	Owen smith <owen.smith@citrix.com>,
	ian.campbell@citrix.com
Subject: [Qemu-devel] [PATCH 1/2] xenfb: Add comment documentation
Date: Mon, 22 Sep 2014 10:04:58 +0100	[thread overview]
Message-ID: <1411376699-8175-2-git-send-email-owen.smith@citrix.com> (raw)
In-Reply-To: <1411376699-8175-1-git-send-email-owen.smith@citrix.com>

Add documentation for feature-abs-pointer, feature-no-abs-rescale,
feature-no-console, page-ref, page-gref and event-channel

Signed-off-by: Owen smith <owen.smith@citrix.com>
---
 xen/include/public/io/kbdif.h | 74 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)

diff --git a/xen/include/public/io/kbdif.h b/xen/include/public/io/kbdif.h
index 2d2aebd..b29bc12 100644
--- a/xen/include/public/io/kbdif.h
+++ b/xen/include/public/io/kbdif.h
@@ -26,6 +26,80 @@
 #ifndef __XEN_PUBLIC_IO_KBDIF_H__
 #define __XEN_PUBLIC_IO_KBDIF_H__
 
+/*
+ * Backend Xenstore Nodes
+ * ----------------------
+ *
+ * feature-abs-pointer
+ *   Values: 0/1 (boolean)
+ *   Default: 0
+ *
+ *   When set to "1", backend supports supplying absolute coordinates via
+ *   XENKBD_TYPE_POS messages. When set to "0", backend can only supply
+ *   relative movements via XENKBD_TYPE_MOTION messages.
+ *
+ * feature-no-abs-rescale
+ *   Values: 0/1 (boolean)
+ *   Default: 0
+ *
+ *   When set to "1", backend supports unscaled absolute coordinates. Unscaled
+ *   coordinates are in the range [0, 0x7fff]. When set to "0", backend can
+ *   only supply scaled coordinates. Scaled coordinates are scaled to the
+ *   'screen size' of the console. If "feature-abs-pointer" is "0", this value
+ *   has no effect.
+ *
+ * feature-no-console
+ *   Values: 0/1 (boolean)
+ *   Default: 0
+ *
+ *   When set to "1", backend supports connection without a console. When
+ *   running without a console, scaled values maximum is undefined. When
+ *   set to "0", backend will wait for a console before connecting.
+ *
+ * Frontend XenStore Nodes
+ * -----------------------
+ *
+ * request-abs-pointer
+ *   Values: 0/1 (boolean)
+ *   Default: 0
+ *
+ *   When set to "1", frontend wants absolute coordinates delivered with the
+ *   XENKBD_TYPE_POS message.
+ *
+ * request-no-abs-rescale
+ *   Values: 0/1 (boolean)
+ *   Default: 0
+ *
+ *   When set to "1", frontend wants unscaled absolute coordinates. If
+ *   "request-abs-pointer" is "0", this value has no effect.
+ *
+ * request-no-console
+ *   Values: 0/1 (boolean)
+ *   Default: 0
+ *
+ *   When set to "1", frontend does not require a console for connection.
+ *
+ * page-ref
+ *   Values: <uint64_t>
+ *   Optional, "page-gref" is used if "page-ref" is not set.
+ *
+ *   The MFN of a page of memory for the shared ring structures. If not
+ *   present, "page-gref" must be set. "page-ref" overrides "page-gref".
+ *
+ * page-gref
+ *   Values: <uint32_t>
+ *   Only required if "page-ref" is NOT set.
+ *
+ *   A grant reference to the memory page to be mapped for the shared ring
+ *   structures. Must be present if "page-ref" is not present.
+ *
+ * event-channel
+ *   Values: <uint32_t>
+ *
+ *   An event channel identifier, which is triggered when the shared page
+ *   is updated.
+ */
+
 /* In events (backend -> frontend) */
 
 /*
-- 
2.1.0

  reply	other threads:[~2014-09-22  9:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-22  9:04 [Qemu-devel] [PATCH 0/2] xenfb: Document public headers Owen smith
2014-09-22  9:04 ` Owen smith [this message]
2014-10-08 13:28   ` [Qemu-devel] [PATCH 1/2] xenfb: Add comment documentation Stefano Stabellini
2014-09-22  9:04 ` [Qemu-devel] [PATCH 2/2] " Owen smith
2014-09-22 10:16   ` [Qemu-devel] [Xen-devel] " David Vrabel
2014-09-26 10:20     ` Owen Smith
2014-10-03  9:06       ` Ian Campbell
2014-10-08 13:29   ` [Qemu-devel] " Stefano Stabellini

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=1411376699-8175-2-git-send-email-owen.smith@citrix.com \
    --to=owen.smith@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xen.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).