Re: [PATCH v2 2/7] libqos: add iteration support to qpci_find_capability()

2019-10-16 Thread Thomas Huth
On 11/10/2019 10.56, 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 > --- > tests/libqos/pci.h | 2 +- >

Re: [PATCH v2 2/7] libqos: add iteration support to qpci_find_capability()

2019-10-11 Thread Sergio Lopez
Stefan Hajnoczi writes: > 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 > --- > tests/libqos/pci.h | 2 +- > tests/libqos/pci.c | 18

[PATCH v2 2/7] libqos: add iteration support to qpci_find_capability()

2019-10-11 Thread Stefan Hajnoczi
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 --- tests/libqos/pci.h | 2 +- tests/libqos/pci.c | 18 -- 2 files changed, 13