<div dir="ltr">Hi,<div><br></div><div>Thanks for the reply.</div><div><br></div><div>I changed the conf to:</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">cgroup_controllers = [ "cpu", "memory", "cpuset", "cpuacct" ]</span><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">Also, cgroups are not mounted at /dev/cgroup</span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">I don't have selinux or apparmor.</span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div><div>However, I still get this:<br>Error starting domain: internal error: early end of file from monitor, possible problem: 2016-01-04T13:07:17.889701Z qemu-system-x86_64: -input-linux /dev/input/by-path/pci-0000:00:14.0-usb-0:12:1.0-event-kbd,grab-all=on: Could not open '/dev/input/by-path/pci-0000:00:14.0-usb-0:12:1.0-event-kbd'<br></div><div><br></div><div>Thanks,</div><div>Jon</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 January 2016 at 11:56, Gerd Hoffmann <span dir="ltr"><<a href="mailto:kraxel@redhat.com" target="_blank">kraxel@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mo, 2016-01-04 at 10:10 +0000, Jonathan Scruggs wrote:<br>
> Hi,<br>
><br>
><br>
> I tried these patches with qemu 2.5.0 on Gentoo and libvirt. I get the<br>
> following error:<br>
> Error starting domain: internal error: early end of file from monitor:<br>
> possible problem:<br>
> 2015-12-22T21:51:20.659520Z qemu-system-x86_64:<br>
> -input-linux /dev/input/by-path/pci-0000:00:14.0-usb-0:12:1.0-event-kbd,grab-all=on: Could not open '/dev/input/by-path/pci-0000:00:14.0-usb-0:12:1.0-event-kbd'<br>
><br>
><br>
> I also tried setting /dev/input/event9 to permissions of 666 to see if<br>
> it was a permission error, but the same thing happened. Any help would<br>
> be appreciated.<br>
<br>
</span>libvirt uses cgroups to restrict qemu.  You can tweak cgroup_controllers<br>
in /etc/libvirt/qemu.conf, when you remove "devices" controller it<br>
should work (unless something else like selinux or apparmor applies<br>
additional restrictions).<br>
<br>
HTH,<br>
  Gerd<br>
<br>
</blockquote></div><br></div>