From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIxJD-0004L4-Fw for qemu-devel@nongnu.org; Thu, 08 Jun 2017 09:17:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIxJA-0002Di-5S for qemu-devel@nongnu.org; Thu, 08 Jun 2017 09:17:07 -0400 Received: from smtp.citrix.com ([66.165.176.89]:9025) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIxJA-0002D1-0I for qemu-devel@nongnu.org; Thu, 08 Jun 2017 09:17:04 -0400 From: Owen Smith Date: Thu, 8 Jun 2017 13:15:30 +0000 Message-ID: <1496927734-29174-1-git-send-email-owen.smith@citrix.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH 0/4] xenfb: Add vkbd-only option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: sstabellini@kernel.org, anthony.perard@citrix.com, kraxel@redhat.com, xen-devel@lists.xenproject.org, Owen Smith Adds the ability for a vkbd device to connect without the QemuConsole, in order to support a standalone PV mouse and keyboard frontend. This series adds a new feature flag, which will need adding to the xen's include/public/io/kbdif.h "feature-vkbd-standalone" is set to 1 by backends that allow the vkbd device model to connect without requiring a vfb device connected. The vkbd device will only bypass the check for the vfb device if the frontend sets "request-vkbd-standalone" to 1. The last 2 patches add a couple of missing input handler functions, and uses these to remove a leak in the vkbd device model. Owen Smith (4): xenfb: Add feature-vkbd-standalone xenfb: Activate mouse handler ui/input: Add activate/remove for keyboard handlers xenfb: Fix leak by adding/removing keyboard handler hw/display/xenfb.c | 44 ++++++++++++++++++++++++++++++++------------ include/ui/console.h | 2 ++ ui/input-legacy.c | 12 ++++++++++++ 3 files changed, 46 insertions(+), 12 deletions(-) -- 2.1.4