[virglrenderer-devel] [RFC PATCH] vrend and build: Obtain version information and add it to the caps v2

Gert Wollny gert.wollny at collabora.com
Fri Jun 8 10:39:27 UTC 2018


Am Freitag, den 08.06.2018, 11:40 +1000 schrieb Dave Airlie:
> > 
> I don't like adding this to the caps structure, I'm not sure I like
> exposing the host driver info that far into the guest either. Maybe
> we could provide something at the kernel level (though that might
> require qemu interface changes), so we can at least expose it in
> dmesg or debugfs in the guest, but not directly to guest userspace.
Originally I was thinking to add this only in debug builds, but within
the caps struct it would have been a bit difficult to make sure that
host and guest are in sync. 

In any case, maybe it makes sense to provide this information only on
user request (i.e. as a config option in qemu or virglrenderer)    

> Definitely needs to be 32-bit aligned no matter what.
I see,  

Gert 



More information about the virglrenderer-devel mailing list