diff options
author | William Henderson <william.henderson@nutanix.com> | 2023-09-04 10:25:32 +0000 |
---|---|---|
committer | John Levon <john.levon@nutanix.com> | 2023-09-15 13:06:41 +0100 |
commit | a2825da4c35768d909f8c6dbdd30b06f168176fb (patch) | |
tree | 93ee6087f96a21b5e3b628762ff0c80bba0fed07 | |
parent | af49c4b40ce8d545b076a465de899781043676a0 (diff) | |
download | libvfio-user-a2825da4c35768d909f8c6dbdd30b06f168176fb.zip libvfio-user-a2825da4c35768d909f8c6dbdd30b06f168176fb.tar.gz libvfio-user-a2825da4c35768d909f8c6dbdd30b06f168176fb.tar.bz2 |
fix: bitmap format clarification
Signed-off-by: William Henderson <william.henderson@nutanix.com>
-rw-r--r-- | docs/vfio-user.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/vfio-user.rst b/docs/vfio-user.rst index f67ce86..a0e018c 100644 --- a/docs/vfio-user.rst +++ b/docs/vfio-user.rst @@ -1757,6 +1757,9 @@ The data field of the request is structured as follows: The data field of the response is identical, except with the bitmap added on the end at offset 24. +The bitmap is an array of u64s that holds the output bitmap, with 1 bit +reporting a *page_size* unit of IOVA. + The mapping of IOVA to bits is given by: ``bitmap[(addr - iova)/page_size] & (1ULL << (addr % 64))`` |