aboutsummaryrefslogtreecommitdiff
path: root/lib/pci.c
diff options
context:
space:
mode:
authorMattias Nissler <122288598+mnissler-rivos@users.noreply.github.com>2023-07-03 18:28:59 +0200
committerGitHub <noreply@github.com>2023-07-03 17:28:59 +0100
commitbb308a2e8ee9486a4c8b53d8d773f7c8faaeba08 (patch)
treea0e7d7eb4ef1823e11c3add311eae99c5cdabef9 /lib/pci.c
parentbf8ce3fbe1b503324dfacba49cbdb18f637986d8 (diff)
downloadlibvfio-user-bb308a2e8ee9486a4c8b53d8d773f7c8faaeba08.zip
libvfio-user-bb308a2e8ee9486a4c8b53d8d773f7c8faaeba08.tar.gz
libvfio-user-bb308a2e8ee9486a4c8b53d8d773f7c8faaeba08.tar.bz2
Fix address calculation for message-based DMA (#740)
The correct DMA address is formed by adding base and offset - the latter was accidentally missing. Change the server example to read and write blocks at non-zero offsets, such that `test-client-server.sh` exercises offset handling. Signed-off-by: Mattias Nissler <mnissler@rivosinc.com>
Diffstat (limited to 'lib/pci.c')
0 files changed, 0 insertions, 0 deletions