mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
bbd72d6453
In case of SEV-SNP guests on MSHV, any host component including VMM trying to access any guest memory region, needs to call gain_access API to acquire access to that particular memory region. This applies to all the virtqueue buffers as well which the VMM is using to use to perform DMA into the guest and in order to facilitate device emulation. While creating various virtqueues we are already using access platform hook to translate the addresses but currently we are missing the size arguments which would be required by the SevSnpAccessPlatformProxy to gain access to the memory of these queues. Signed-off-by: Jinank Jain <jinankjain@microsoft.com> |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |