cloud-hypervisor/pci
Jianyong Wu b475965632 vfio: align memory region size and address to PAGE_SIZE
In current implementation, memory region used in vfio is assumed to
align to 4k which may cause error when the PAGE_SIZE is not 4k, like on
Arm, it can be 16k and 64k.

Remove this assumption and align memory resource used by vfio to
PAGE_SIZE then vfio can run on host with 64k PAGE_SIZE.

Fixes: #5292
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
(cherry picked from commit eca75dcfc9)
2024-01-19 09:09:22 -08:00
..
src vfio: align memory region size and address to PAGE_SIZE 2024-01-19 09:09:22 -08:00
Cargo.toml build: Update dependencies in v28.x stable branch 2022-12-13 14:29:22 +00:00