From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [virtio-dev] Re: [PATCH v3] Add virtio-input driver. Date: Tue, 24 Mar 2015 14:37:24 +0100 Message-ID: <1427204244.18768.21.camel__2460.21194984696$1427204262$gmane$org@nilsson.home.kraxel.org> References: <1427182321-19451-1-git-send-email-kraxel@redhat.com> <20150324105829-mutt-send-email-mst@redhat.com> <1427197581.18768.16.camel@nilsson.home.kraxel.org> <20150324135908-mutt-send-email-mst@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150324135908-mutt-send-email-mst@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: "Michael S. Tsirkin" Cc: virtio-dev@lists.oasis-open.org, Dmitry Torokhov , "open list:ABI/API" , open list , virtualization@lists.linux-foundation.org, David Herrmann List-Id: virtualization@lists.linuxfoundation.org Hi, > > input layer checks it and ignores events not supported (according to the > > support bitmaps). > > Right but support bitmaps come from host too, no? Yes, but the driver will not set invalid bits (bitcount argument for the virtinput_cfg_bits() function is the number of valid bits of the specific bitmap). cheers, Gerd