[vfio-users] [PATCH v2 1/3] input: add qemu_input_qcode_to_linux + qemu_input_linux_to_qcode

sL1pKn07 SpinFlo sl1pkn07 at gmail.com
Tue Jan 5 02:27:49 UTC 2016


2016-01-04 11:10 GMT+01:00 Jonathan Scruggs <j.scruggs at gmail.com>:
> 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.
>
>
> The way I pass it is with this:
>   <qemu:commandline>
>     <qemu:arg value='-input-linux'/>
>     <qemu:arg
> value='/dev/input/by-path/pci-0000:00:14.0-usb-0:12:1.0-event-kbd,grab-all=on'/>
>     <qemu:arg value='-input-linux'/>
>     <qemu:arg
> value='/dev/input/by-path/pci-0000:00:14.0-usb-0:12:1.1-event-mouse'/>
>     <qemu:arg value='-input-linux'/>
>     <qemu:arg
> value='/dev/input/by-path/pci-0000:00:14.0-usb-0:12:1.2-event-joystick'/>
>   </qemu:commandline>
>
> Is there a way around this error?
>
> Thanks,
> Jon

Same here ;_;

qemu/libvirt from git (with little changes to avoid errors on build) on Arch

Greetings




More information about the vfio-users mailing list