Seriously, no.
And this isn't just an unhelpful comment on a forum. This is serious advice from an expert here.
After patching the Nvidia driver and then patching the driver itself to allow other non-standard vgpu definitions what's the point of this? Its at best a feel good that I reimplemented a tiny part. You'd be better contributing patches against binary blobs to the community rather than wasting time on this.