On Wed, 7 Oct 2020 15:04:14 -0400 Matthew Rosato <mjrosato@xxxxxxxxxxxxx> wrote: > Now that VFIO_DEVICE_GET_INFO supports capability chains, add a helper > function to find specific capabilities in the chain. > > Signed-off-by: Matthew Rosato <mjrosato@xxxxxxxxxxxxx> > --- > hw/vfio/common.c | 10 ++++++++++ > include/hw/vfio/vfio-common.h | 2 ++ > 2 files changed, 12 insertions(+) Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>