diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2021-02-22 17:40:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 17:40:37 +0000 |
commit | 1194d54124f0bb5b8b53bbd7700f1ac8574478ee (patch) | |
tree | 4ef58c060d675b1e0f185f0a86a992d7d8bfa836 /lib | |
parent | f2cf42500dfcbafb54752a498cc60fb4acba5147 (diff) | |
download | libvfio-user-1194d54124f0bb5b8b53bbd7700f1ac8574478ee.zip libvfio-user-1194d54124f0bb5b8b53bbd7700f1ac8574478ee.tar.gz libvfio-user-1194d54124f0bb5b8b53bbd7700f1ac8574478ee.tar.bz2 |
don't use wrong buf offset for responding with PCI caps (#355)
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Signed-off-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -393,6 +393,7 @@ pci_config_space_access(vfu_ctx_t *vfu_ctx, char *buf, size_t count, offset += ret; count -= ret; + buf += ret; } return offset - start; |