cloud-hypervisor/virtio-devices/src
Jinank Jain bbd72d6453 vm-virtio: Gain access to virtqueue before accessing them
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>
2024-09-04 17:33:37 +00:00
..
transport vm-virtio: Gain access to virtqueue before accessing them 2024-09-04 17:33:37 +00:00
vhost_user misc: Migrate away from versionize 2024-04-22 17:10:55 +00:00
vsock virtio-devices: vsock: drop a useless line 2024-07-31 16:36:10 +00:00
balloon.rs misc: Migrate away from versionize 2024-04-22 17:10:55 +00:00
block.rs virtio-devices: block: Reduce notification latency when rate limited 2024-08-31 20:54:13 +00:00
console.rs virtio-devices: fix UB getting tty size 2024-07-03 21:26:04 +00:00
device.rs virtio-net: net: Wait for threads to exit on Drop 2022-11-10 07:46:16 -08:00
epoll_helper.rs virtio-devices: modify or provide safety comments 2022-11-18 12:50:01 +00:00
iommu.rs virtio-devices: iommu: use inspect_err instead of map_err 2024-07-23 21:07:17 +00:00
lib.rs misc: Remove redundant "use" imports 2024-02-19 17:54:30 +00:00
mem.rs misc: Migrate away from versionize 2024-04-22 17:10:55 +00:00
net.rs misc: Migrate away from versionize 2024-04-22 17:10:55 +00:00
pmem.rs misc: Migrate away from versionize 2024-04-22 17:10:55 +00:00
rng.rs misc: Migrate away from versionize 2024-04-22 17:10:55 +00:00
seccomp_filters.rs virtio-devices: Fix seccomp rules for SevSnp guest 2024-08-30 16:55:53 +00:00
thread_helper.rs virtio-devices: Shutdown VMM upon worker thread errors 2022-08-16 11:45:44 +01:00
vdpa.rs virtio-devices: vdpa: Don't restore on paused state 2024-06-15 07:32:58 +00:00
watchdog.rs misc: Migrate away from versionize 2024-04-22 17:10:55 +00:00