kvmtool/vfio: Handle BARs at page granularity

KVM obviously won't let us map fractional pages into the guest, so if we
do happen across small or otherwise funny-sized BARs, round'em up.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
1 file changed