Hi,
I am trying to implement blob resource mapping support, but there is
something I still did not manage to figure out.
According to the spec, VIRTIO_GPU_CMD_RESOURCE_MAP_BLOB maps a host-only
blob resource into an offset in the host visible memory region. So, I
believe I will need something like:
> void *data = g->hotstmem[mblob.offset]; // pseudo-code
> virgl_renderer_resource_map(..., &data, ...);
Questions:
- Does my approach make sense?
- How do I get an address to the host visible memory region?
Best regards,
Antonio