[virglrenderer-devel] [PATCH 0/4] Provide the means to inject info about the host GL into a qemu guest
Gerd Hoffmann
kraxel at redhat.com
Thu Jun 14 06:57:43 UTC 2018
On Thu, Jun 14, 2018 at 12:54:31PM +1000, Dave Airlie wrote:
> On 13 June 2018 at 19:03, Gert Wollny <gert.wollny at collabora.com> wrote:
> > Dear all,
> >
> > this is a reworked proposal to make it possible to obtain information about
> > the host GL and virglrender version from within the guest. The series doesn't
> > require any changes to the guest version of virgl or to qemu. Instead it
> > provides the means to inject this information into the guest system by using
> > smbios OEM strings.
>
> Interesting idea, I'd like to know what the qemu devs think of this approach.
>
> The having an external program and having to have qemu call it seems
> like it might be a bit restrictive, though it does mean we don't have to change
> qemu to get the info in the guest, which is nice.
Well, except that you have to do the change higher up the stack then
(libvirt or whatever else starts qemu). Getting the egl vs. glx thing
right is left as an excercise to the qemu caller too.
Also using smbios as side channel doesn't look that clever. What is
supposed to happen on archs without smbios?
I think it would be better to add a VIRTIO_GPU_CMD_HOST_INFO command.
cheers,
Gerd
More information about the virglrenderer-devel
mailing list