aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2021-06-09 15:26:39 +0100
committerGitHub <noreply@github.com>2021-06-09 15:26:39 +0100
commitae595267bf78b79b69a8e134c8eea20fa29d4943 (patch)
tree368b5c3e7c0c171883a86bcdaa80ee1955be870d
parent1abe697341061a6c16e4a5d28b20b5efa7035a81 (diff)
downloadlibvfio-user-ae595267bf78b79b69a8e134c8eea20fa29d4943.zip
libvfio-user-ae595267bf78b79b69a8e134c8eea20fa29d4943.tar.gz
libvfio-user-ae595267bf78b79b69a8e134c8eea20fa29d4943.tar.bz2
spec: require DMA unmap to match exactly previous mapping (#559)
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> Reviewed-by: John Levon <john.levon@nutanix.com>
-rw-r--r--docs/vfio-user.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/vfio-user.rst b/docs/vfio-user.rst
index 9e23fb3..9f05767 100644
--- a/docs/vfio-user.rst
+++ b/docs/vfio-user.rst
@@ -629,7 +629,8 @@ The request payload for this message is a structure of the following format:
* *address* is the base DMA address of the DMA region.
* *size* is the size of the DMA region.
-The size of request message depends on whether or not the
+The address and size of the DMA region being unmapped must match exactly a
+previous mapping. The size of request message depends on whether or not the
*get dirty page bitmap* bit is set in Flags:
* If not set, the size of the total request message is: 16 + 24.