99cbc7
From 3af732efb21503e81d31ff600d024b240d6105f3 Mon Sep 17 00:00:00 2001
99cbc7
Message-Id: <3af732efb21503e81d31ff600d024b240d6105f3@dist-git>
99cbc7
From: Erik Skultety <eskultet@redhat.com>
99cbc7
Date: Tue, 9 Apr 2019 08:34:30 +0200
99cbc7
Subject: [PATCH] conf: gfx: Add egl-headless as a member to
99cbc7
 virDomainGraphicsDef struct
99cbc7
MIME-Version: 1.0
99cbc7
Content-Type: text/plain; charset=UTF-8
99cbc7
Content-Transfer-Encoding: 8bit
99cbc7
99cbc7
Since we need to specify the rendernode option onto QEMU cmdline, we
99cbc7
need this union member to retain consistency in how we build the
99cbc7
cmdline.
99cbc7
99cbc7
Signed-off-by: Erik Skultety <eskultet@redhat.com>
99cbc7
Reviewed-by: Ján Tomko <jtomko@redhat.com>
99cbc7
(cherry picked from commit 0a75de221984b971cb841c6918e6746eb22b1547)
99cbc7
99cbc7
https: //bugzilla.redhat.com/show_bug.cgi?id=1628892
99cbc7
Signed-off-by: Erik Skultety <eskultet@redhat.com>
99cbc7
Message-Id: <5dc5762e104b6a4729bf6fa9a470f10a6e6c256f.1554791287.git.eskultet@redhat.com>
99cbc7
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
99cbc7
---
99cbc7
 src/conf/domain_conf.h | 3 +++
99cbc7
 1 file changed, 3 insertions(+)
99cbc7
99cbc7
diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
99cbc7
index b1139812d5..2d272f907f 100644
99cbc7
--- a/src/conf/domain_conf.h
99cbc7
+++ b/src/conf/domain_conf.h
99cbc7
@@ -1656,6 +1656,9 @@ struct _virDomainGraphicsDef {
99cbc7
             virTristateBool gl;
99cbc7
             char *rendernode;
99cbc7
         } spice;
99cbc7
+        struct {
99cbc7
+            char *rendernode;
99cbc7
+        } egl_headless;
99cbc7
     } data;
99cbc7
     /* nListens, listens, and *port are only useful if type is vnc,
99cbc7
      * rdp, or spice. They've been extracted from the union only to
99cbc7
-- 
99cbc7
2.21.0
99cbc7