+++ This bug was initially created as a clone of Bug #1648236 +++
Description of problem:
It's not possible to specify rendernode with egl-headless compared to spice which means that QEMU will always pick the first render node available, which will never work with libvirt namespaces, because libvirt doesn't know which DRM node to put into the namespace which will inherently result in a failure to start a VM.
Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.12.0-14.el7.x86_64
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
QEMU accepts rendernode option for egl-headless display type so that libvirt can take care of the access rights.
Additional info:
See https://bugzilla.redhat.com/show_bug.cgi?id=1628892 for more detail and how to reproduce. Even though libvirt now lets QEMU to pick the rendernode for SPICE if the user didn't provide it, this will change due to namespaces and libvirt will pick the first available rendernode the same way QEMU has been doing it.
QEMU has been recently split into sub-components and as a one-time operation to avoid breakage of tools, we are setting the QEMU sub-component of this BZ to "General". Please review and change the sub-component if necessary the next time you review this BZ. Thanks
Test agasint qemu-kvm-4.2.0-31.module+el8.3.0+7437+4bb96e0d.x86_64
qemu can start with rendernode withtout error:
# /usr/libexec/qemu-kvm -display egl-headless,rendernode=/dev/dri/renderD128 -monitor stdio
QEMU 4.2.0 monitor - type 'help' for more information
(qemu)
Boot rhel8.3 VM with intel vGPU, I can see VM desktop correctly.
Mark as verified