|
From: | Eric Blake |
Subject: | Re: [Qemu-devel] [PULL 1/3] qapi: Add "rendernode" display option for egl-headless |
Date: | Mon, 19 Nov 2018 07:10:21 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 |
On 11/16/18 7:29 AM, Gerd Hoffmann wrote:
From: Erik Skultety <address@hidden> Unlike SPICE, egl-headless doesn't offer a way of specifying the DRM node used for OpenGL, hence QEMU always selecting the first one that is available. Thus, add the 'rendernode' option for egl-headless to QAPI. Signed-off-by: Erik Skultety <address@hidden> Message-id: address@hidden Signed-off-by: Gerd Hoffmann <address@hidden> --- qapi/ui.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-)
This has already landed, but I noticed via an off-list discussion that it is not introspectible through query-qmp-schema, because DisplayOptions is currently used only for command line handling. I don't know off-hand whether query-command-line-options even exposes the existence of DisplayOptions (not all of our command line options can be queried), but even if it does, I also know that our current command line queries are not detailed enough to readily expose the addition of a new optional member. I think it would be appropriate for the 3.1 timeframe to add a new QMP command that exposes the display configuration set up at runtime, if only so that the DisplayOptions becomes visible through query-qmp-commands as a bug fix for making this change easier to use.
-- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |