diff options
author | Stefan Hajnoczi | 2019-10-23 12:04:19 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2019-10-25 13:46:22 +0200 |
commit | a32a028aa702d7bcee0cd19a588d04d15a4437e1 (patch) | |
tree | 6c8d39734aa3a268ebc0839cb8726d863698a074 /.gitignore | |
parent | libqos: access VIRTIO 1.0 vring in little-endian (diff) | |
download | qemu-a32a028aa702d7bcee0cd19a588d04d15a4437e1.tar.gz qemu-a32a028aa702d7bcee0cd19a588d04d15a4437e1.tar.xz qemu-a32a028aa702d7bcee0cd19a588d04d15a4437e1.zip |
libqos: add iteration support to qpci_find_capability()
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 <stefanha@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
--
v3:
* Document qpci_find_capability()
Message-Id: <20191023100425.12168-11-stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions