Skip to content
Snippets Groups Projects
Commit 34002f54 authored by Alex Williamson's avatar Alex Williamson
Browse files

vfio: Fix PCI mmap after b3b9c293


Our mmap path mistakely relied on vma->vm_pgoff to get set in
remap_pfn_range.  After b3b9c293, that path only applies to
copy-on-write mappings.  Set it in our own code.

Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 2474542f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment