Received: by 10.192.165.148 with SMTP id m20csp4280897imm; Mon, 23 Apr 2018 23:23:50 -0700 (PDT) X-Google-Smtp-Source: AIpwx49d8Y8lPvuMeFPHgvSCp/oMIi2UqrPzPw72NFWMu1wWL93AydndJ+kkz6UviHRLkCx+lk5w X-Received: by 10.99.140.77 with SMTP id q13mr19304479pgn.44.1524551030014; Mon, 23 Apr 2018 23:23:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524551029; cv=none; d=google.com; s=arc-20160816; b=azqYA0SNPzSjcWPVxFgGbMBBRDS/DtanUIT14xoVDyzZMENh3nwrD7DLpXI1sXNwsi 3b5OuDqjfpRu7RZyrSHbrvWYbSja2N4tuIV93BevFAVZqOm19pufPRXrHQKT8XrpXL4z bKKlgwCNhjrjYZYZqXTrHlZ0YEHUy3fMt1HGnac6tZ1PEx2DATrPteStqJ72WxLBmkWP EuYNnHR6rXTyGE14JN98e8qzLqwYrDahipj6MOwIio1iEmT5lealGwqbG9HgAQAkHvZR C3n1XMQWHVa3DEA6veYZZU5TjXfXgzvaChvRycEzE4dFWsqDxRafiRaZq4v48loyfka7 zYHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=48jTmUpau+QPPDiheZ1ID2DDdOH+ea5i+6QX31qRBK4=; b=ovo6K5actp6n2blfBglbETB2OqN3P3rplZrv3hSRucLNSvGrswUZbTli/wHgCeFIzG U5/niPkkiDU+GGsOqBnYTpDDRUBqXSHK9ighBjTBHgEtrbbCcMgwYWZ2m7Ocwe8mI4uh Y5/Y45yzuI8k8NAtBa670m+J+0Y0HL//Q3qxEYMyJ9YDcfky2o/rzRLPhM36DG278soy tATCnoFBWopHi3oL6PsEFTAsonKk08CLmOOrypI3wXHzKRnHzdykca57WUuJWAhnG90Q 6aUdPtG4KRDMijCY0JHutlY7OvYCmm/PRk8QAVSLJgH9tR4uNkqDMSfnMZzJINMnvLW9 RlLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bakywa0k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s1si12371835pfm.62.2018.04.23.23.23.35; Mon, 23 Apr 2018 23:23:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bakywa0k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756147AbeDXFz3 (ORCPT + 99 others); Tue, 24 Apr 2018 01:55:29 -0400 Received: from mail-lf0-f45.google.com ([209.85.215.45]:39759 "EHLO mail-lf0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751454AbeDXFzW (ORCPT ); Tue, 24 Apr 2018 01:55:22 -0400 Received: by mail-lf0-f45.google.com with SMTP id p142-v6so18394704lfd.6; Mon, 23 Apr 2018 22:55:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=48jTmUpau+QPPDiheZ1ID2DDdOH+ea5i+6QX31qRBK4=; b=bakywa0kcx6aJyO7gfpzLBm2je1+MWRQWfZuzG0WVv121Qn9gR7dhoW0JdxgY6lrGd ZPT/g1NK77/GbbKa1nNijU4NxnwvIqN4GtAksEz1tajZ07VKpxUyJebT18/5khMvQed9 /ydnnEIpFyTzsDTLIFMpbuVBQisnNL7Xjhy6Nhuq2XmkWFm3IVN4pp0MzG5WqYJUiGV3 aVDRKbQe60QMfwoem4/55MtaQ7ng4xQZmTR0g3pdEbvhZ1AQWXn5jp9aKE+jZOnU5ggJ +dFAAL5Kdv8M9U9R5RQyznJG4D+JYNRwFPk0Ra0h9QAnK0Zv9mtlLVfnkML8L+4qRD+v bgOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=48jTmUpau+QPPDiheZ1ID2DDdOH+ea5i+6QX31qRBK4=; b=YMrR12rlbrEB1DitxtClGmOLdruoQjL2NK+N1LWIGUK9/+DLrzO4844FBqplY0Wtlw K0fYSrGdDiurued9Kft1wOLMjoqxQQTd+HbnUi3ZsJWa02y+zccLOwsnO+7SJ+CeB9ug ks2HYyT8D3gqmwdVynlK6W3L2qVzDadm93w9n5lggfZ1v/rkurR3/FXqsQLEzwryD971 Kd4LdLZ/P7yIeNxVFHtvkoOpR5xq1b4qD/WU1DaKJ+qbXXppDLHXbHfFCIxaixaGfL3C ZVdul4T/YuS+TjX8bboNKVudRxc+mOHcPmXxCMEJrb+UOLR4p5tuOVn29FMg5oUu6awA H+zg== X-Gm-Message-State: ALQs6tAfkm9i7dMhTVbGRRNLfChFp9Y+rRdqXaOzt+9LtRwWyV9PyQs2 9kYKuxCmeedtGdggMGbJIUQ= X-Received: by 10.46.83.68 with SMTP id t4mr9140763ljd.83.1524549320831; Mon, 23 Apr 2018 22:55:20 -0700 (PDT) Received: from [10.17.182.9] (ll-53.209.223.85.sovam.net.ua. [85.223.209.53]) by smtp.gmail.com with ESMTPSA id p20sm1205629ljj.23.2018.04.23.22.55.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 22:55:20 -0700 (PDT) Subject: Re: [PATCH] Input: xen-kbdfront - allow better run-time configuration To: Dmitry Torokhov Cc: Juergen Gross , xen-devel@lists.xenproject.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, lyan@suse.com, boris.ostrovsky@oracle.com, andrii_chepurnyi@epam.com, Oleksandr Andrushchenko References: <20180418150445.9805-1-andr2000@gmail.com> <2bff035e-303e-d644-5f51-5e64150c097c@gmail.com> <20180423185325.GB66646@dtor-ws> From: Oleksandr Andrushchenko Message-ID: <8ef84389-4659-d4bb-271f-53155062b7b6@gmail.com> Date: Tue, 24 Apr 2018 08:55:19 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180423185325.GB66646@dtor-ws> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/23/2018 09:53 PM, Dmitry Torokhov wrote: > On Thu, Apr 19, 2018 at 02:44:19PM +0300, Oleksandr Andrushchenko wrote: >> On 04/19/2018 02:25 PM, Juergen Gross wrote: >>> On 18/04/18 17:04, Oleksandr Andrushchenko wrote: >>>> From: Oleksandr Andrushchenko >>>> >>>> It is now only possible to control if multi-touch virtual device >>>> is created or not (via the corresponding XenStore entries), >>>> but keyboard and pointer devices are always created. >>> Why don't you want to go that route for keyboard and mouse, too? >>> Or does this really make no sense? >> Well, I would prefer not to touch anything outside Linux and >> this driver. And these settings seem to be implementation specific. >> So, this is why introduce Linux module parameters and don't extend >> the kbdif protocol. > Why do you consider this implementation specific? How other guests > decide to forego creation of relative pointer device or keyboard-like > device? > > You already have "features" for absolute pointing device and multitouch, > so please extend the protocol properly so you indeed do not code > something implementation-specific (i.e. module parameters). Ok, but in order to preserve the default behavior, e.g. pointer and keyboard devices are always created now, I'll have to have reverse features in the protocol:  - feature-no-pointer  - feature-no-keyboard The above may be set as a part of frontend's configuration and if missed are considered to be set to false. > > Thanks. >