From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfOKM-0000Yw-Q0 for qemu-devel@nongnu.org; Tue, 07 Apr 2015 03:53:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfOKI-0003ps-PB for qemu-devel@nongnu.org; Tue, 07 Apr 2015 03:53:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfOKI-0003pV-KA for qemu-devel@nongnu.org; Tue, 07 Apr 2015 03:53:38 -0400 Message-ID: <1428393213.15593.29.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Tue, 07 Apr 2015 09:53:33 +0200 In-Reply-To: References: <1427369184-4321-1-git-send-email-kraxel@redhat.com> <1427369184-4321-7-git-send-email-kraxel@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 6/6] virtio-input: evdev passthrough List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?Marc-Andr=E9?= Lureau Cc: virtio-dev@lists.oasis-open.org, QEMU , "Michael S. Tsirkin" On Fr, 2015-04-03 at 00:24 +0200, Marc-Andr=C3=A9 Lureau wrote: > Hi >=20 >=20 > On Thu, Mar 26, 2015 at 12:26 PM, Gerd Hoffmann > wrote: > This allows to assign host input devices to the guest: > =20 > qemu -device virto-input-host-pci,evdev=3D/dev/input/event > =20 > =20 >=20 > nitpicking, virto/virtio=20 Fixed. > The guest gets exclusive access to the input device, so be > careful > with assigning the keyboard if you have only one connected to > your > machine. >=20 > Why does it need exclusive access? Because otherwise both host and guest are seeing the keystrokes (or other events). That most likely is not what you want ... Try commenting out the EVIOCGRAB ioctl if you wanna see the effects ;) > (btw, is anyone working on a windows version of the guest driver?) Not that I know of. cheers, Gerd