On 3/20/25 10:40, John Levon wrote:
On Tue, Mar 18, 2025 at 10:53:58AM +0100, Cédric Le Goater wrote:

Gather all helper routine declarations into "helpers.h" to reduce
exposure of VFIO internals in "hw/vfio/vfio-common.h".

Signed-off-by: Cédric Le Goater <c...@redhat.com>

Reviewed-by: John Levon <john.le...@nutanix.com>

but

+struct vfio_info_cap_header *
+vfio_get_region_info_cap(struct vfio_region_info *info, uint16_t id);

This can be static in fact.

It is used by vfio_device_get_region_info_type() and
vfio_device_has_region_cap().


Thanks,

C.



regards
john



Reply via email to