On 19/10/2019 08.38, Stefan Hajnoczi wrote: > VIRTIO 1.0 PCI devices have multiple PCI_CAP_ID_VNDR capabilities so we > need a way to iterate over them. Extend qpci_find_capability() to take > the last address. > > Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> > -- > v3: > * Document qpci_find_capability() > --- > tests/libqos/pci.h | 2 +- > tests/libqos/pci.c | 30 ++++++++++++++++++++++++------ > 2 files changed, 25 insertions(+), 7 deletions(-)
Reviewed-by: Thomas Huth <th...@redhat.com>