[Mesa-dev] [PATCH] virgl: Add command and flags to initiate debugging on the host

Gert Wollny gw.fossdev at gmail.com
Thu Sep 6 14:36:01 UTC 2018


Am Donnerstag, den 06.09.2018, 15:37 +0200 schrieb Erik Faye-Lund:
> 
> > Jfyi: These are effectively part of the ABI/protocol. A host/guest
> > definitions mismatch will result in the wrong debug being printed.
> > Ohh "the horror" I know, hence the jfyi ;-)
> 
> Good point. I think they should be moved to virgl_hw.h instead, as
> they need to be kept in sync.

Thinking a bit more about it I now contemplate to just send the string
directly and let the host translate the flags, with this we don't have
update two pieces of code when we add more debug flags.

Best, 
Gert 
 


More information about the mesa-dev mailing list