[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 09:51:18 UTC 2018
Hi,
> > 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.
> It is essentially a feature to be used when debugging and fixing bugs
> and adding new features, when one might manually start qemu with
> different versions of virglrender (as in git versions) and the host
> OpenGL, and logs test results from inside the guests.
Well, if this is supposed to be used only by developers and CI,
then ok, it's good enough for that.
If we want this eventually be included in bug reports from users,
then this should be available unconditinally on all platforms and
we need something better then. Not sure how helpful that would be
and whenever it would be worth the effort adding a new virtio command.
Possibly it wouldn't help much because most users use distro packages.
> The guest should not do anything based on this information, for that
> there are the caps, and the question is whether it is actually of
> interest to have this host information always available in the guest.
Just put it in the kernel log or a sysfs file, so it can be picked up
there for bug reports.
cheers,
Gerd
More information about the virglrenderer-devel
mailing list