aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorWilliam Henderson <william.henderson@nutanix.com>2023-08-18 11:30:51 +0100
committerGitHub <noreply@github.com>2023-08-18 11:30:51 +0100
commitceca7e55c60a337faa91ed418452b8ba7f2a9b57 (patch)
treee22933232f99a3071b954f03927dba2afb2839db /docs
parentceeb93f2bcc4ad260638d655f902d344b7cc770d (diff)
downloadlibvfio-user-ceca7e55c60a337faa91ed418452b8ba7f2a9b57.zip
libvfio-user-ceca7e55c60a337faa91ed418452b8ba7f2a9b57.tar.gz
libvfio-user-ceca7e55c60a337faa91ed418452b8ba7f2a9b57.tar.bz2
initial spec changes based on qemu-devel review (#767)
See https://lore.kernel.org/all/CAJSP0QVJZMuuPqyt3wA=NRLzKB-TLWjGWuYnfRvUd=LXraZUWg@mail.gmail.com/. Signed-off-by: William Henderson <william.henderson@nutanix.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/vfio-user.rst32
1 files changed, 16 insertions, 16 deletions
diff --git a/docs/vfio-user.rst b/docs/vfio-user.rst
index f433579..047569a 100644
--- a/docs/vfio-user.rst
+++ b/docs/vfio-user.rst
@@ -1476,7 +1476,7 @@ The request payload for this message is a structure of the following format.
| | +---------+---------------------------+ |
| | | Bit | Definition | |
| | +=========+===========================+ |
-| | | 0 to 15 | Feature bits | |
+| | | 0 to 15 | Feature index | |
| | +---------+---------------------------+ |
| | | 16 | VFIO_DEVICE_FEATURE_GET | |
| | +---------+---------------------------+ |
@@ -1493,8 +1493,8 @@ The request payload for this message is a structure of the following format.
* *flags* defines the action to be performed by the server and upon which
feature:
- * The feature bits are the least significant 16 bits of the flags field, and
- can be accessed using the ``VFIO_DEVICE_FEATURE_MASK`` bit mask.
+ * The feature index consists of the least significant 16 bits of the flags
+ field, and can be accessed using the ``VFIO_DEVICE_FEATURE_MASK`` bit mask.
* ``VFIO_DEVICE_FEATURE_GET`` instructs the server to get the data for the
given feature.
@@ -1528,19 +1528,19 @@ The only device features supported by vfio-user are those related to migration,
although this may change in the future. They are a subset of those supported in
the VFIO implementation of the Linux kernel.
-+----------------------------------------+-------+
-| Name | Value |
-+========================================+=======+
-| VFIO_DEVICE_FEATURE_MIGRATION | 1 |
-+----------------------------------------+-------+
-| VFIO_DEVICE_FEATURE_MIG_DEVICE_STATE | 2 |
-+----------------------------------------+-------+
-| VFIO_DEVICE_FEATURE_DMA_LOGGING_START | 6 |
-+----------------------------------------+-------+
-| VFIO_DEVICE_FEATURE_DMA_LOGGING_STOP | 7 |
-+----------------------------------------+-------+
-| VFIO_DEVICE_FEATURE_DMA_LOGGING_REPORT | 8 |
-+----------------------------------------+-------+
++----------------------------------------+---------------+
+| Name | Feature Index |
++========================================+===============+
+| VFIO_DEVICE_FEATURE_MIGRATION | 1 |
++----------------------------------------+---------------+
+| VFIO_DEVICE_FEATURE_MIG_DEVICE_STATE | 2 |
++----------------------------------------+---------------+
+| VFIO_DEVICE_FEATURE_DMA_LOGGING_START | 6 |
++----------------------------------------+---------------+
+| VFIO_DEVICE_FEATURE_DMA_LOGGING_STOP | 7 |
++----------------------------------------+---------------+
+| VFIO_DEVICE_FEATURE_DMA_LOGGING_REPORT | 8 |
++----------------------------------------+---------------+
``VFIO_DEVICE_FEATURE_MIGRATION``
"""""""""""""""""""""""""""""""""