> > + if (res->iov) {
> > + cmd->error = VIRTIO_GPU_RESP_ERR_UNSPEC;
> > + return;
> > + }
> > +
>
> I think I would rather return an error in the library for this case.-ENOLIBRARY ;) This is the 2d mode code, so virglrenderer isn't involved at all. Added patch to the queue (and the 3d one too). thanks, Gerd
