-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
enhancementNew feature or requestNew feature or request
Description
libvfio-user doesn't work with a vIOMMU that remaps GPAs to IOVAs and wants to access guest RAM via mmap() (it works fine if guest RAM is accessed via vfu_sgl_read and vfu_sgl_write).
From discussion with @jlevon and @mnissler-rivos on libvfio-user Slack (https://libvfio-user.slack.com/archives/C01AFGCSPTR/p1696411059172959):
- IOMMU PT/identity DMA: works fine: incoming IOVAs are the same as GPAs
- IOMMU remapping: doesn't work: IOVAs need translation somehow into the underlying GPA prior to the libvfio-user dma code
- ATS on top: mostly about endpoint caching translations. would need some version of this between qemu/libvfio-user for any hope of performance
- PRI on top: mostly about demand paging: same?
- PASID on top: no idea!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request