On Fri, Mar 21, 2025 at 10:25:15AM +0100, Cédric Le Goater wrote:
> > > +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_regio
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
Reviewed-by: John Levon
but
+str
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
Reviewed-by: John Levon
but
> +struct vfio_info_cap_header *
> +v
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
---
hw/vfio/helpers.h | 26 ++
include/hw/vfio/vfio-common.h | 7 ---
hw/s390x/s390-pci-vfio.c |