mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-22 12:35:19 +00:00
0c00da1dd8
To prepare the support of region capabilities, this commit factorizes the `VFIO_USER_DEVICE_GET_REGION_INFO` operation in its own function. In this process, it also removes the need of the hard-coded arbitrary value for `vfio_region_info.argsz` (the maximum size of the reply payload). Signed-off-by: Bo Chen <chen.bo@intel.com>