From 080e664ed5e79dcf5ae5a36521cab0ddb7ebc5f0 Mon Sep 17 00:00:00 2001 From: Swapnil Ingle Date: Fri, 27 Aug 2021 13:18:53 +0200 Subject: Add support for VFIO_DMA_UNMAP_FLAG_ALL flag (#600) * Add support for VFIO_DMA_UNMAP_FLAG_ALL flag Signed-off-by: Swapnil Ingle Reviewed-by: John Levon --- docs/vfio-user.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/vfio-user.rst b/docs/vfio-user.rst index 1b2095e..e912fb3 100644 --- a/docs/vfio-user.rst +++ b/docs/vfio-user.rst @@ -612,6 +612,8 @@ The request payload for this message is a structure of the following format: | | +=====+=======================+ | | | | 0 | get dirty page bitmap | | | | +-----+-----------------------+ | +| | | 1 | unmap all regions | | +| | +-----+-----------------------+ | +--------------+--------+------------------------+ | address | 8 | 8 | +--------------+--------+------------------------+ @@ -625,6 +627,9 @@ The request payload for this message is a structure of the following format: populated before unmapping the DMA region. The client must provide a `VFIO Bitmap`_ structure, explained below, immediately following this entry. + * *unmap all regions* indicates to unmap all the regions previously + mapped via `VFIO_USER_DMA_MAP`. This flag cannot be combined with + *get dirty page bitmap* and expects *address* and *size* to be 0. * *address* is the base DMA address of the DMA region. * *size* is the size of the DMA region. -- cgit v1.1