Open DemiMarie opened 5 months ago
Currently (without GPU acceleration), buffers are allocated by guest applications and ideally would be shared with the host. But for some reason crosvm doesn't support that, so we allocate host memory and copy the data across manually. If Xen can pass guest memory to the host then that probably simplifies things:
Xen can easily share guest memory with the host, but there are two caveats:
FOLL_LONGTERM
pin on the memory.
Parts of virtio-GPU can straightforwardly (if not easily) be implemented on Xen, but mapping host-allocated buffers into the guest isn't supported yet and so there will need to be a workaround.