From nobody Wed May 14 09:42:24 2025
Delivered-To: importer@patchew.org
Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28
as permitted sender) client-ip=209.132.183.28;
envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com;
Authentication-Results: mx.zohomail.com;
spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as
permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com;
dmarc=fail(p=none dis=none) header.from=codethink.co.uk
Return-Path:
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by
mx.zohomail.com
with SMTPS id 1525949713537893.7695002283735;
Thu, 10 May 2018 03:55:13 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com
[10.5.11.16])
(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by mx1.redhat.com (Postfix) with ESMTPS id 9610337E88;
Thu, 10 May 2018 10:55:11 +0000 (UTC)
Received: from colo-mx.corp.redhat.com
(colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21])
by smtp.corp.redhat.com (Postfix) with ESMTPS id 59141379F;
Thu, 10 May 2018 10:55:11 +0000 (UTC)
Received: from lists01.pubmisc.prod.ext.phx2.redhat.com
(lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33])
by colo-mx.corp.redhat.com (Postfix) with ESMTP id 0C89D41284;
Thu, 10 May 2018 10:55:11 +0000 (UTC)
Received: from smtp.corp.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com
[10.5.11.26])
by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
id w4AAt5KF020766 for ;
Thu, 10 May 2018 06:55:05 -0400
Received: by smtp.corp.redhat.com (Postfix)
id 579C030BB009; Thu, 10 May 2018 10:55:05 +0000 (UTC)
Received: from mx1.redhat.com (ext-mx17.extmail.prod.ext.phx2.redhat.com
[10.5.110.46])
by smtp.corp.redhat.com (Postfix) with ESMTPS id 506F830BB008
for ; Thu, 10 May 2018 10:55:03 +0000 (UTC)
Received: from imap1.codethink.co.uk (imap1.codethink.co.uk [176.9.8.82])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by mx1.redhat.com (Postfix) with ESMTPS id 8AA493003EC9
for ; Thu, 10 May 2018 10:55:01 +0000 (UTC)
Received: from [88.97.110.231] (helo=ct-lt-931.lan)
by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian))
id 1fGjDv-00018g-WF; Thu, 10 May 2018 11:55:00 +0100
From: Maciej Wolny
To: libvir-list@redhat.com
Date: Thu, 10 May 2018 11:53:57 +0100
Message-Id: <20180510105359.24803-4-maciej.wolny@codethink.co.uk>
In-Reply-To: <20180510105359.24803-1-maciej.wolny@codethink.co.uk>
References: <20180510105359.24803-1-maciej.wolny@codethink.co.uk>
X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 207
matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com
[10.5.110.46]); Thu, 10 May 2018 10:55:01 +0000 (UTC)
X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com
[10.5.110.46]);
Thu, 10 May 2018 10:55:01 +0000 (UTC) for IP:'176.9.8.82'
DOMAIN:'imap1.codethink.co.uk' HELO:'imap1.codethink.co.uk'
FROM:'maciej.wolny@codethink.co.uk' RCPT:''
X-RedHat-Spam-Score: -0.011 (RCVD_IN_DNSWL_NONE,
SPF_PASS) 176.9.8.82 imap1.codethink.co.uk 176.9.8.82
imap1.codethink.co.uk
X-Scanned-By: MIMEDefang 2.84 on 10.5.110.46
X-Scanned-By: MIMEDefang 2.84 on 10.5.11.26
X-loop: libvir-list@redhat.com
Cc: Maciej Wolny
Subject: [libvirt] [PATCH v2 3/5] qemu: Add gl property to graphics of type
sdl in domain config
X-BeenThere: libvir-list@redhat.com
X-Mailman-Version: 2.1.12
Precedence: junk
List-Id: Development discussions about the libvirt library & tools
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Sender: libvir-list-bounces@redhat.com
Errors-To: libvir-list-bounces@redhat.com
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16
X-Greylist: Sender IP whitelisted,
not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]);
Thu, 10 May 2018 10:55:12 +0000 (UTC)
X-ZohoMail: RSF_0 Z_629925259 SPT_0
Content-Type: text/plain; charset="utf-8"
Support OpenGL accelerated rendering when using SDL graphics in the
domain config. Add associated test and documentation.
Signed-off-by: Maciej Wolny
Reviewed-by: John Ferlan
---
docs/formatdomain.html.in | 6 +++
docs/schemas/domaincommon.rng | 8 ++++
src/conf/domain_conf.c | 44 ++++++++++++++++++=
++-
src/conf/domain_conf.h | 1 +
tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.xml | 38 ++++++++++++++++++
.../qemuxml2xmloutdata/video-virtio-gpu-sdl-gl.xml | 45 ++++++++++++++++++=
++++
tests/qemuxml2xmltest.c | 1 +
7 files changed, 141 insertions(+), 2 deletions(-)
create mode 100644 tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.xml
create mode 100644 tests/qemuxml2xmloutdata/video-virtio-gpu-sdl-gl.xml
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index caeb14e2f..a7ef9269f 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -6162,6 +6162,12 @@ qemu-kvm -net nic,model=3D? /dev/null
and an optional fullscreen attribute accepting =
values
yes or no.
+
+
+ You can use a gl with the enable=3D"yes"<=
/code>
+ property to enable OpenGL support in SDL. Likewise you can
+ explicitly disable OpenGL support with enable=3D"no"=
code>.
+