Description of problem:
Libvirt is trying to pick a default DRI renderer for SPICE even if the XML doesn't have OpenGL turned on using <gl enable='yes'/>. This is a problem on a headless server without DRI because it fails to start a domain which previously started just fine.
Version-Release number of selected component (if applicable):
100% if the host doesn't have DRI
Steps to Reproduce:
1. prepare a VM with the following in the XML:
2. rename all /dev/dri/renderDX devices (skip if your host doesn't have DRI)
3. start the VM using virsh
error: Failed to start domain f-live
error: internal error: No DRM render nodes available
The domain starts just fine.
Patch proposed upstream:
I'm closing this as NOTABUG since the intended future version of libvirt (5.0.0) will have this fixed, so technically there wouldn't be an issue to reproduce. However, I'm moving the reproducer for test verification purposes to the BZ linked below.