• E
    qemu: process: spice: Pick the first available DRM render node · 27cc9f6a
    Erik Skultety 提交于
    Up until now, we formatted 'rendernode=' onto QEMU cmdline only if the
    user specified it in the XML, otherwise we let QEMU do it for us. This
    causes permission issues because by default the /dev/dri/renderDX
    permissions are as follows:
    
    crw-rw----. 1 root video
    
    There's literally no reason why it shouldn't be libvirt picking the DRM
    render node instead of QEMU, that way (and because we're using
    namespaces by default), we can safely relabel the device within the
    namespace.
    Signed-off-by: NErik Skultety <eskultet@redhat.com>
    Reviewed-by: NJán Tomko <jtomko@redhat.com>
    27cc9f6a
qemu_process.c 246.0 KB