I'm trying to use a binary of Qemu that I compiled using this tutorial, since the version of Qemu that's packaged with my OS, Debian, doesn't seem to support OpenGL acceleration with Spice. After a successful compilation, I tried to set the <emulator> tag to the path to new Qemu executable in /usr/local/bin, but I receive the following error:
error: internal error: Failed to probe QEMU binary with QMP: libvirt: error : cannot execute binary /usr/local/bin/qemu-2.12.1/x86_64-softmmu/qemu-system-x86_64: Permission denied
The 'emulator' part of my virsh edit configuration file is as follows:
<emulator>/usr/bin/kvm</emulator>
I have experimented with changing the permissions and ownership of the file, made sure to allow execution (chmod a+x
), however none seem to work.
If there are any other ways of using the OpenGL acceleration feature of Qemu, please let me know.
I am currently using Debian Stretch, with the the virt-manager, libvirt-daemon and qemu-kvm from the 'testing' repository, on an Intel Core i5-8400, using the integrated GPU. I have compiled Qemu so I could use the OpenGL 3D acceleration feature with 'libvirglrenderer'.
namei -l <file>
useful for this. – Michael Hampton Sep 25 '18 at 14:41namei -l <file>
useful for this." You do not appear to have acted on this. If you have, then please edit your question and add its output. – Michael Hampton Sep 25 '18 at 17:27