[libvirt] [PATCH 09/12] command: Put the 'rendernode' option onto egl-headless graphics cmdline

Ján Tomko jtomko at redhat.com
Thu Nov 22 17:36:28 UTC 2018


On Thu, Nov 22, 2018 at 05:36:07PM +0100, Erik Skultety wrote:
>+
>+    /* Until QEMU 3.1, there wasn't any support for the 'rendernode' option on
>+     * the cmdline, so don't bother picking one, the user is responsible for
>+     * ensuring the correct permissions on the DRI devices.
>+     */
>+    if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_EGL_HEADLESS_RENDERNODE)) {
>+
>+        /* we must populate @def so we actually have something to relabel */
>+        graphics->data.egl_headless.rendernode = virHostGetDRMRenderNode();

qemuProcessPrepareDomain

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20181122/efd3657b/attachment-0001.sig>


More information about the libvir-list mailing list