From: Oleksandr Andrushchenko <andr2000@gmail.com>
To: Juergen Gross <jgross@suse.com>
Cc: "Oleksandr_Andrushchenko@epam.com"
<Oleksandr_Andrushchenko@epam.com>,
dmitry.torokhov@gmail.com, jandryuk@gmail.com,
linux-input@vger.kernel.org, xen-devel@lists.xenproject.org
Subject: Re: [PATCH v4 2/2] xen/kbdif: Add features to disable keyboard and pointer
Date: Thu, 17 May 2018 08:45:50 +0300 [thread overview]
Message-ID: <ac3b57d0-2df0-561d-36d9-f00cd9273185@gmail.com> (raw)
In-Reply-To: <20180502144919.16780-2-andr2000@gmail.com>
Hi, Juergen!
This patch should go into 4.11 as it is needed for a related Linux
kernel patch and the risk is next to zero for Xen due to only adding
some macros not in use on Xen side.
Could you please release ack this and apply?
Thank you,
Oleksandr
On 05/02/2018 05:49 PM, Oleksandr Andrushchenko wrote:
> From: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
>
> It is now not fully possible to control if and which virtual devices
> are created by the frontend, e.g. keyboard and pointer devices
> are always created and multi-touch device is created if the
> backend advertises multi-touch support. In some cases this
> behavior is not desirable and better control over the frontend's
> configuration is required.
>
> Add new XenStore feature fields, so it is possible to individually
> control set of exposed virtual devices for each guest OS:
> - set feature-disable-keyboard to 1 if no keyboard device needs
> to be created
> - set feature-disable-pointer to 1 if no pointer device needs
> to be created
>
> Keep old behavior by default.
>
> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> ---
> xen/include/public/io/kbdif.h | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/xen/include/public/io/kbdif.h b/xen/include/public/io/kbdif.h
> index daf4bc2063c9..23d1f70d5210 100644
> --- a/xen/include/public/io/kbdif.h
> +++ b/xen/include/public/io/kbdif.h
> @@ -51,6 +51,18 @@
> * corresponding entries in XenStore and puts 1 as the value of the entry.
> * If a feature is not supported then 0 must be set or feature entry omitted.
> *
> + * feature-disable-keyboard
> + * Values: <uint>
> + *
> + * If there is no need to expose a virtual keyboard device by the
> + * frontend then this must be set to 1.
> + *
> + * feature-disable-pointer
> + * Values: <uint>
> + *
> + * If there is no need to expose a virtual pointer device by the
> + * frontend then this must be set to 1.
> + *
> * feature-abs-pointer
> * Values: <uint>
> *
> @@ -177,6 +189,8 @@
>
> #define XENKBD_DRIVER_NAME "vkbd"
>
> +#define XENKBD_FIELD_FEAT_DSBL_KEYBRD "feature-disable-keyboard"
> +#define XENKBD_FIELD_FEAT_DSBL_POINTER "feature-disable-pointer"
> #define XENKBD_FIELD_FEAT_ABS_POINTER "feature-abs-pointer"
> #define XENKBD_FIELD_FEAT_RAW_POINTER "feature-raw-pointer"
> #define XENKBD_FIELD_FEAT_MTOUCH "feature-multi-touch"
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2018-05-17 5:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-02 14:49 [PATCH v4 1/2] xen/kbdif: Add string constants for raw pointer Oleksandr Andrushchenko
2018-05-02 14:49 ` [PATCH v4 2/2] xen/kbdif: Add features to disable keyboard and pointer Oleksandr Andrushchenko
2018-05-17 5:45 ` Oleksandr Andrushchenko [this message]
2018-05-17 5:50 ` Juergen Gross
2018-05-17 5:51 ` Oleksandr Andrushchenko
2018-05-17 14:09 ` Konrad Rzeszutek Wilk
2018-05-17 18:41 ` Oleksandr Andrushchenko
2018-05-08 5:41 ` [PATCH v4 1/2] xen/kbdif: Add string constants for raw pointer Oleksandr Andrushchenko
2018-05-11 13:37 ` Konrad Rzeszutek Wilk
2018-05-11 13:38 ` Konrad Rzeszutek Wilk
2018-05-11 15:15 ` Juergen Gross
2018-05-16 4:59 ` Oleksandr Andrushchenko
2018-05-17 4:28 ` Juergen Gross
2018-05-17 5:29 ` Oleksandr Andrushchenko
2018-05-17 5:42 ` Juergen Gross
2018-05-17 5:47 ` Oleksandr Andrushchenko
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=ac3b57d0-2df0-561d-36d9-f00cd9273185@gmail.com \
--to=andr2000@gmail.com \
--cc=Oleksandr_Andrushchenko@epam.com \
--cc=dmitry.torokhov@gmail.com \
--cc=jandryuk@gmail.com \
--cc=jgross@suse.com \
--cc=linux-input@vger.kernel.org \
--cc=xen-devel@lists.xenproject.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).