|
From: | Thomas Huth |
Subject: | Re: [PATCH v3 10/16] libqos: add iteration support to qpci_find_capability() |
Date: | Mon, 21 Oct 2019 14:49:28 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
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 <address@hidden> > -- > 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 <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |