cloud-hypervisor/pci
Jianyong Wu eca75dcfc9 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>
2023-05-22 13:25:52 +01:00
..
src vfio: align memory region size and address to PAGE_SIZE 2023-05-22 13:25:52 +01:00
Cargo.toml build: Bump serde from 1.0.152 to 1.0.156 2023-05-18 13:54:52 +01:00