From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aG3kg-00051Q-Kx for qemu-devel@nongnu.org; Mon, 04 Jan 2016 06:56:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aG3kd-0002sq-EY for qemu-devel@nongnu.org; Mon, 04 Jan 2016 06:56:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aG3kd-0002sm-9V for qemu-devel@nongnu.org; Mon, 04 Jan 2016 06:56:39 -0500 Message-ID: <1451908596.7377.95.camel@redhat.com> From: Gerd Hoffmann Date: Mon, 04 Jan 2016 12:56:36 +0100 In-Reply-To: References: <1450102686-23855-1-git-send-email-kraxel@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: Re: [Qemu-devel] [vfio-users] [PATCH v2 1/3] input: add qemu_input_qcode_to_linux + qemu_input_linux_to_qcode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jonathan Scruggs Cc: qemu-devel@nongnu.org, vfio-users On Mo, 2016-01-04 at 10:10 +0000, Jonathan Scruggs wrote: > Hi, >=20 >=20 > I tried these patches with qemu 2.5.0 on Gentoo and libvirt. I get the > following error: > Error starting domain: internal error: early end of file from monitor: > possible problem: > 2015-12-22T21:51:20.659520Z qemu-system-x86_64: > -input-linux /dev/input/by-path/pci-0000:00:14.0-usb-0:12:1.0-event-kbd,g= rab-all=3Don: Could not open '/dev/input/by-path/pci-0000:00:14.0-usb-0:12:= 1.0-event-kbd' >=20 >=20 > I also tried setting /dev/input/event9 to permissions of 666 to see if > it was a permission error, but the same thing happened. Any help would > be appreciated. libvirt uses cgroups to restrict qemu. You can tweak cgroup_controllers in /etc/libvirt/qemu.conf, when you remove "devices" controller it should work (unless something else like selinux or apparmor applies additional restrictions). HTH, Gerd