Bobby, our new team member in the XCP-ng team explored the device emulation in Xen Hypervisor and wrote a Devblog about that topic and how we leveraged the device emulation hypercall interface of the Xen hypervisor in our implementation of UEFI Secure Boot for HVM guests.
Read the complete devblog here