[libvirt] [PATCH 06/12] conf: Add egl-headless to virDomainGraphicsDef union

Erik Skultety eskultet at redhat.com
Thu Nov 22 16:36:04 UTC 2018


Since we need to specify the rendernode option onto QEMU cmdline, we
need this union member to retain consistency in how we build the
cmdline.

Signed-off-by: Erik Skultety <eskultet at redhat.com>
---
 src/conf/domain_conf.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index 467785cd83..b425bda00b 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -1658,6 +1658,9 @@ struct _virDomainGraphicsDef {
             virTristateBool gl;
             char *rendernode;
         } spice;
+        struct {
+            char *rendernode;
+        } egl_headless;
     } data;
     /* nListens, listens, and *port are only useful if type is vnc,
      * rdp, or spice. They've been extracted from the union only to
-- 
2.19.1




More information about the libvir-list mailing list