<div dir="ltr">Has anyone found a solution to this yet?</div><div class="gmail_extra"><br><div class="gmail_quote">On 20 August 2016 at 18:09, Jonathan Scruggs <span dir="ltr"><<a href="mailto:j.scruggs@gmail.com" target="_blank">j.scruggs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Strange. I'm user user and group of qemu and 2.0 works for me. I know you need to remove devices from the cgroup line. I did try adding it back for 2.1 but that didn't work. So user as root or qemu doesn't work for me in 2.1.</p><div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><div class="gmail_quote">On 20 Aug 2016 18:04, "sL1pKn07 SpinFlo" <<a href="mailto:sl1pkn07@gmail.com" target="_blank">sl1pkn07@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2016-08-20 18:03 GMT+02:00 Jonathan Scruggs <<a href="mailto:j.scruggs@gmail.com" target="_blank">j.scruggs@gmail.com</a>>:<br>
> Caps is a default useflag, so it will set user and group to qemu. So, you<br>
> are saying that the user and group need to be set to root for it to work<br>
> with version 2.1? Version 2.0, which I have now, works fine with qemu as the<br>
> user/group. What has changed to cause this?<br>
><br>
> On 20 August 2016 at 14:45, sL1pKn07 SpinFlo <<a href="mailto:sl1pkn07@gmail.com" target="_blank">sl1pkn07@gmail.com</a>> wrote:<br>
>><br>
>> 2016-08-20 15:34 GMT+02:00 Jonathan Scruggs <<a href="mailto:j.scruggs@gmail.com" target="_blank">j.scruggs@gmail.com</a>>:<br>
>> > This is my whole qemu.conf:<br>
>> > <a href="http://dpaste.com/243C3GG" rel="noreferrer" target="_blank">http://dpaste.com/243C3GG</a><br>
>> ><br>
>> > It's largely default.<br>
>> ><br>
>> > On 20 August 2016 at 14:04, sL1pKn07 SpinFlo <<a href="mailto:sl1pkn07@gmail.com" target="_blank">sl1pkn07@gmail.com</a>> wrote:<br>
>> >><br>
>> >> one question, have you configure the user in the qemu.conf? for me in<br>
>> >> older version if have unset that option i have the same fail, but if<br>
>> >> set to 'root' user, work OK. but in libvirt 2.2, unset or set the user<br>
>> >> don't work<br>
>> >><br>
>> >> greetings<br>
>> ><br>
>> ><br>
>><br>
>> ok, is commented, but in the ebuild have set to root<br>
>><br>
>><br>
>> <a href="https://gitweb.gentoo.org/repo/gentoo.git/tree/app-emulation/libvirt/libvirt-2.1.0-r1.ebuild#n295" rel="noreferrer" target="_blank">https://gitweb.gentoo.org/repo<wbr>/gentoo.git/tree/app-emulation<wbr>/libvirt/libvirt-2.1.0-r1.<wbr>ebuild#n295</a><br>
>><br>
>> then in my setup need set to root in qemu.config<br>
>><br>
>> if not:<br>
>><br>
>> ago 20 14:50:21 sL1pKn07 libvirtd[27566]: libvirt version: 2.2.0<br>
>> ago 20 14:50:21 sL1pKn07 libvirtd[27566]: hostname: sL1pKn07<br>
>> ago 20 14:50:21 sL1pKn07 libvirtd[27566]: Domain id=1 name='windoze'<br>
>> uuid=167cfa49-c88f-46df-a6bf-3<wbr>127d5bf4d38 is tainted: custom-argv<br>
>> ago 20 14:50:21 sL1pKn07 libvirtd[27566]: Domain id=1 name='windoze'<br>
>> uuid=167cfa49-c88f-46df-a6bf-3<wbr>127d5bf4d38 is tainted: host-cpu<br>
>> ago 20 14:50:21 sL1pKn07 libvirtd[27566]: Falló al conectar con el<br>
>> socket de monitor: No existe el proceso<br>
>> ago 20 14:50:21 sL1pKn07 libvirtd[27566]: internal error: process<br>
>> exited while connecting to monitor: 2016-08-20T12:50:21.564501Z<br>
>> qemu-system-x86_64: -object<br>
>><br>
>> input-linux,id=keyboard,evdev=<wbr>/dev/input/by-path/pci-0000:00<wbr>:1a.1-usb-0:1.1:1.0-event-kbd,<wbr>grab_all=on,repeat=on:<br>
>> Could not open<br>
>> '/dev/input/by-path/pci-0000:0<wbr>0:1a.1-usb-0:1.1:1.0-event-kbd<br>
>><br>
>> └───╼  ls /dev/input/by-path/pci-0000:00<wbr>:1a.1-usb-0:1.1:1.0-event-kbd<br>
>> lrwxrwxrwx 1 root root 9 ago 19 21:00<br>
>> /dev/input/by-path/pci-0000:00<wbr>:1a.1-usb-0:1.1:1.0-event-kbd -><br>
>> ../event0<br>
><br>
><br>
<br>
<br>
Hi<br>
<br>
no, i mean, in 2.0 (or older), i need set the user option in root<br>
(user = "root"). if not i get error<br>
<br>
exited while connecting to monitor: 2016-08-20T12:50:21.564501Z<br>
qemu-system-x86_64: -object<br>
input-linux,id=keyboard,evdev=<wbr>/dev/input/by-path/pci-0000:00<wbr>:1a.1-usb-0:1.1:1.0-event-kbd,<wbr>grab_all=on,repeat=on:<br>
Could not open '/dev/input/by-path/pci-0000:0<wbr>0:1a.1-usb-0:1.1:1.0-event-kbd<br>
<br>
in  2.1 or 2.2, ir set or not the user option i get the error like you<br>
<br>
greetings<br>
</blockquote></div></div>
</div></div></blockquote></div><br></div>