All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Scruggs <j.scruggs@gmail.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org, vfio-users <vfio-users@redhat.com>
Subject: Re: [Qemu-devel] [vfio-users] [PATCH v2 1/3] input: add qemu_input_qcode_to_linux + qemu_input_linux_to_qcode
Date: Mon, 4 Jan 2016 13:13:27 +0000	[thread overview]
Message-ID: <CADABvURpX7a=qsjddhy+eWGPahk0YnPpzTgyFqoaoZtOtx3brA@mail.gmail.com> (raw)
In-Reply-To: <1451908596.7377.95.camel@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1536 bytes --]

Hi,

Thanks for the reply.

I changed the conf to:
cgroup_controllers = [ "cpu", "memory", "cpuset", "cpuacct" ]
Also, cgroups are not mounted at /dev/cgroup
I don't have selinux or apparmor.

However, I still get this:
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'

Thanks,
Jon

On 4 January 2016 at 11:56, Gerd Hoffmann <kraxel@redhat.com> wrote:

> On Mo, 2016-01-04 at 10:10 +0000, Jonathan Scruggs wrote:
> > Hi,
> >
> >
> > 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,grab-all=on:
> Could not open '/dev/input/by-path/pci-0000:00:14.0-usb-0:12:1.0-event-kbd'
> >
> >
> > 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
>
>

[-- Attachment #2: Type: text/html, Size: 2504 bytes --]

  reply	other threads:[~2016-01-04 13:13 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-14 14:18 [Qemu-devel] [PATCH v2 1/3] input: add qemu_input_qcode_to_linux + qemu_input_linux_to_qcode Gerd Hoffmann
2015-12-14 14:18 ` [Qemu-devel] [PATCH v2 2/3] input: linux evdev support Gerd Hoffmann
2015-12-14 16:44   ` [Qemu-devel] [vfio-users] " thibaut noah
2015-12-14 14:18 ` [Qemu-devel] [PATCH v2 3/3] input-linux: add option to toggle grab on all devices Gerd Hoffmann
2016-01-04 10:10 ` [Qemu-devel] [vfio-users] [PATCH v2 1/3] input: add qemu_input_qcode_to_linux + qemu_input_linux_to_qcode Jonathan Scruggs
2016-01-04 11:56   ` Gerd Hoffmann
2016-01-04 13:13     ` Jonathan Scruggs [this message]
2016-01-04 13:19     ` Jonathan Scruggs
     [not found]       ` <CAAaYXTufBXAyrc0tNkOmRWZ6qmGW5qpyfAfjmOnRsHpgi4H1YA@mail.gmail.com>
2016-01-05  2:24         ` [Qemu-devel] Fwd: " sL1pKn07 SpinFlo
2016-01-05  7:05       ` [Qemu-devel] " Gerd Hoffmann
2016-01-05  8:06         ` Jonathan Scruggs
2016-01-05 14:44           ` sL1pKn07 SpinFlo
2016-01-06  7:53             ` Gerd Hoffmann
     [not found]               ` <CAAaYXTvQJmgZEz8AUfe5GNULcbpN7TA8DdCNDFxD4yZKAju=kg@mail.gmail.com>
2016-01-07  4:55                 ` [Qemu-devel] Fwd: " sL1pKn07 SpinFlo
     [not found]                 ` <1452087192.6096.38.camel@redhat.com>
2016-01-07  4:57                   ` sL1pKn07 SpinFlo
2016-01-13 20:34                     ` [Qemu-devel] " sL1pKn07 SpinFlo
2016-01-14 23:19                       ` sL1pKn07 SpinFlo
2016-01-15  8:50                         ` Gerd Hoffmann
     [not found]                           ` <CAAaYXTuX0qzgwqF0TWoVQ1zBKcNOWDEVUjat8Pe5XzP4PhHifw@mail.gmail.com>
2016-01-15 18:04                             ` [Qemu-devel] Fwd: " sL1pKn07 SpinFlo
     [not found]                             ` <1452864264.23156.72.camel@redhat.com>
2016-01-15 18:06                               ` sL1pKn07 SpinFlo
2016-01-15 18:14                                 ` [Qemu-devel] " sL1pKn07 SpinFlo
2016-01-18 11:47                           ` Jonathan Scruggs
2016-01-18 14:13                             ` Gerd Hoffmann
2016-01-23 21:51                               ` Jonathan Scruggs
2016-01-25  8:13                                 ` Gerd Hoffmann
2016-01-24 15:06                               ` Jonathan Scruggs
2016-01-25  8:29                                 ` Gerd Hoffmann
     [not found]     ` <CAAaYXTty+R2DJ3=Uc3K3xJ+iTNEHdA4JE1_iWXdL=U3sPwqjZw@mail.gmail.com>
2016-01-05  2:26       ` sL1pKn07 SpinFlo
2016-01-05  7:06         ` Gerd Hoffmann
     [not found]   ` <CAAaYXTvaDntkeSOKvu12UwT4FeAkspM12q94GE=keRTn-NOUsQ@mail.gmail.com>
2016-01-05  2:27     ` sL1pKn07 SpinFlo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADABvURpX7a=qsjddhy+eWGPahk0YnPpzTgyFqoaoZtOtx3brA@mail.gmail.com' \
    --to=j.scruggs@gmail.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=vfio-users@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.