render / rpms / libvirt

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