Re: [PATCH] vfio iommu type1: Bypass the vma permission check in vfio_pin_pages_remote()

From: Stefan Hajnoczi
Date: Mon Dec 07 2020 - 09:49:27 EST


On Thu, Dec 03, 2020 at 05:01:32PM +0100, David Hildenbrand wrote:
> The real question is: do we even *need* DMA from vfio devices to
> virtio-fs regions? If not (do guests rely on it? what does the spec
> state?), just don't care about vfio at all and don't map anything.

Can DMA to/from the virtio-fs DAX Window happen? Yes, the guest could do
it although it's rare.

Is it a great idea to combine VFIO and virtio-fs DAX? Maybe not. It
involves pinning host page cache pages O_o.

Stefan

Attachment: signature.asc
Description: PGP signature