diff options
author | Swapnil Ingle <swapnil.ingle@nutanix.com> | 2021-08-27 13:18:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 13:18:53 +0200 |
commit | 080e664ed5e79dcf5ae5a36521cab0ddb7ebc5f0 (patch) | |
tree | 5d920a8a71aa57f088aba9a6f881c71121866f69 /docs/vfio-user.rst | |
parent | 2ed612697e8fde14e9995cc1ac4dd5143ae8e0b7 (diff) | |
download | libvfio-user-080e664ed5e79dcf5ae5a36521cab0ddb7ebc5f0.zip libvfio-user-080e664ed5e79dcf5ae5a36521cab0ddb7ebc5f0.tar.gz libvfio-user-080e664ed5e79dcf5ae5a36521cab0ddb7ebc5f0.tar.bz2 |
Add support for VFIO_DMA_UNMAP_FLAG_ALL flag (#600)
* Add support for VFIO_DMA_UNMAP_FLAG_ALL flag
Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'docs/vfio-user.rst')
-rw-r--r-- | docs/vfio-user.rst | 5 |
1 files changed, 5 insertions, 0 deletions
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. |