[vfio-users] VM loses mouse

Patrick O'Callaghan poc at usb.ve
Sun Apr 30 23:13:39 UTC 2017


On Sun, 2017-04-30 at 20:54 +0100, Patrick O'Callaghan wrote:
> According to https://askubuntu.com/questions/307066/i-cant-add-domain-type-kvm-xmlnsqemu-http-libvirt-org-schemas-domain-qe#458370
> the namespace is discarded if it's not used, but the attempt to use
> it is what gives the error from virsh:
> 
> error: (domain_definition):5: error parsing attribute name
>         <qemu:arg value='-object'/>

On closer examination it turned out to be a mismatch error (missing "'"
in a distant part of the spec).

Now it passes the syntax check, but I get a "permission denied" error
on the /dev/input/... line:

Error starting domain: internal error: process exited while connecting
to monitor: 2017-04-30T23:08:12.041484Z qemu-system-x86_64: -object
input-linux,id=kbd,evdev=/dev/input/event3,grab_all=on: Could not open
'/dev/input/event3': Permission denied

Any thoughts? virt-manager requires root so I don't see where this is
coming from.

poc




More information about the vfio-users mailing list