> | This is not the guest returning the size, it is the host renderer
> | library saying how much space it needs ...
> 
>   The library funcion checks 'capset_id' supplied via the 'cmd' object, as 
> 'gc' is initialised from a given command 'cmd'. It sets 'max_size=0' if 
> capset_id != VREND_CAP_SET.

Ah, ok, that makes sense.

I guess we want throw an error (VIRTIO_GPU_RESP_ERR_INVALID_PARAMETER)
in the error case then instead of leaving resp->hdr.type unset.

cheers,
  Gerd


Reply via email to