[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [vfio-users] After update, input-linux errors with Operation not permitted.



The only way I was able to resolve this was by downgrading libvirt to 2.0. Something about 2.1 breaks input Linux command. Can anyone shed light on this? Gerd? Alex?

Jon


On 20 Aug 2016 13:55, "sL1pKn07 SpinFlo" <sl1pkn07 gmail com> wrote:
2016-08-18 18:53 GMT+02:00 Jonathan Scruggs <j scruggs gmail com>:
> Hi all,
>
> This was working perfectly last week, but then after doing a system update
> yesterday after not doing one for a week, I now have the Operation not
> permitted error.
>
> These are the package versions and use flags
> # emerge qemu libvirt virt-manager -pv
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild   R    ] app-emulation/virt-manager-1.4.0-r1::gentoo  USE="gtk
> (policykit) -debug -gnome-keyring -sasl" LINGUAS="-as -bg -bn_IN -bs -ca
> -cmn -cs -da -de -en_GB -es -fi -fr -gu -hi -hr -hu -is -it -ja -kn -ko -ml
> -mr -ms -nb -nl -or -pa -pl -pt -pt_BR -ro -ru -sk -sr -sr latin -sv -ta -te
> -tr -uk -vi -zh_CN -zh_TW" PYTHON_TARGETS="python2_7" 0 KiB
> [ebuild   R    ] app-emulation/qemu-2.6.0::gentoo  USE="aio alsa bzip2 caps
> curl fdt filecaps gtk jpeg lzo ncurses nls opengl pin-upstream-blobs png
> pulseaudio python sdl seccomp spice threads usb usbredir uuid vhost-net vnc
> xattr -accessibility -bluetooth -debug -glusterfs -gnutls -gtk2 -infiniband
> -iscsi -nfs -numa -rbd -sasl -sdl2 (-selinux) -smartcard -snappy -ssh
> -static -static-softmmu -static-user -systemtap -tci {-test} -vde -virgl
> -virtfs -vte -xen -xfs" LINGUAS="-de_DE -fr_FR -hu -it -tr -zh_CN"
> PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm
> -cris -i386 -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el
> -mipsel -moxie -or32 -ppc -ppc64 -ppcemb -s390x -sh4 -sh4eb -sparc -sparc64
> -tricore -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="x86_64 -aarch64
> -alpha -arm -armeb -cris -i386 -m68k -microblaze -microblazeel -mips -mips64
> -mips64el -mipsel -mipsn32 -mipsn32el -or32 -ppc -ppc64 -ppc64abi32 -ppc64le
> -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -tilegx -unicore32" 0 KiB
> [ebuild   R    ] app-emulation/libvirt-2.1.0-r1:0/2.1.0::gentoo  USE="caps
> libvirtd macvtap nls (policykit) qemu udev vepa virt-network -apparmor
> -audit -avahi -firewalld -fuse -glusterfs -iscsi -lvm -lxc -nfs -numa
> -openvz -parted -pcap -phyp -rbd -sasl (-selinux) -uml -virtualbox
> (-wireshark-plugins) -xen" 0 KiB
>
> This is the full error:
> Error starting domain: internal error: process exited while connecting to
> monitor: 2016-08-18T16:44:16.298580Z qemu-system-x86_64: -object
> input-linux,id=kdb1,evdev=/dev/input/by-path/pci-0000:00:14.0-usb-0:9.1:1.2-event-kbd,grab_all=on,repeat=on:
> Could not open
> '/dev/input/by-path/pci-0000:00:14.0-usb-0:9.1:1.2-event-kbd': Operation not
> permitted
>
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 88, in
> cb_wrapper
>     callback(asyncjob, *args, **kwargs)
>   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 124, in tmpcb
>     callback(*args, **kwargs)
>   File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 83, in
> newfn
>     ret = fn(self, *args, **kwargs)
>   File "/usr/share/virt-manager/virtManager/domain.py", line 1404, in
> startup
>     self._backend.create()
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1035, in create
>     if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
> libvirtError: internal error: process exited while connecting to monitor:
> 2016-08-18T16:44:16.298580Z qemu-system-x86_64: -object
> input-linux,id=kdb1,evdev=/dev/input/by-path/pci-0000:00:14.0-usb-0:9.1:1.2-event-kbd,grab_all=on,repeat=on:
> Could not open
> '/dev/input/by-path/pci-0000:00:14.0-usb-0:9.1:1.2-event-kbd': Operation not
> permitted
>
> This is the relevant part of my config:
>   <qemu:commandline>
>     <qemu:arg value='-object'/>
>     <qemu:arg
> value='input-linux,id=kdb1,evdev=/dev/input/by-path/pci-0000:00:14.0-usb-0:9.1:1.2-ev$
>     <qemu:arg value='-object'/>
>     <qemu:arg
> value='input-linux,id=kdb2,evdev=/dev/input/by-path/pci-0000:00:14.0-usb-0:9.1:1.0-ev$
>     <qemu:arg value='-object'/>
>     <qemu:arg
> value='input-linux,id=kdb3,evdev=/dev/input/by-path/pci-0000:00:14.0-usb-0:9.1:1.1-ev$
>     <qemu:arg value='-object'/>
>     <qemu:arg
> value='input-linux,id=mouse,evdev=/dev/input/by-path/pci-0000:00:14.0-usb-0:9.2:1.0-e$
>   </qemu:commandline>
>
> Thanks,
> Jon
>
> _______________________________________________
> vfio-users mailing list
> vfio-users redhat com
> https://www.redhat.com/mailman/listinfo/vfio-users
>


same here with

qemu commit 5f9f818
libvirt commit 492a383

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]