Re: [PATCH] vfio/pci: Recover sub-page BAR size when base address is not aligned

2025-07-16 Thread Cédric Le Goater
On 7/15/25 08:59, Zhenzhong Duan wrote: Currently region_mr and mmap_mr size are recovered to original size when base address is updated to non-PAGE_SIZE aligned, but still leave base_mr with PAGE_SIZE size. This is harmless as base_mr is a only container but still a bit confusing when executing

[PATCH] vfio/pci: Recover sub-page BAR size when base address is not aligned

2025-07-15 Thread Zhenzhong Duan
Currently region_mr and mmap_mr size are recovered to original size when base address is updated to non-PAGE_SIZE aligned, but still leave base_mr with PAGE_SIZE size. This is harmless as base_mr is a only container but still a bit confusing when executing hmp command mtree. Signed-off-by: Zhenzho