aboutsummaryrefslogtreecommitdiff
path: root/lib/private.h
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2020-12-02 11:38:52 +0000
committerGitHub <noreply@github.com>2020-12-02 11:38:52 +0000
commit3e647c0d3b3506b8160b37748108ba3fbd7cb632 (patch)
tree939e1afeef3d5cb05942a8400a5eff716a7979a9 /lib/private.h
parentddf444e8da02e0c8796944e2484cd0ca91a0105d (diff)
downloadlibvfio-user-3e647c0d3b3506b8160b37748108ba3fbd7cb632.zip
libvfio-user-3e647c0d3b3506b8160b37748108ba3fbd7cb632.tar.gz
libvfio-user-3e647c0d3b3506b8160b37748108ba3fbd7cb632.tar.bz2
rename VFU_REG_FLAG_* (#145)
We renamed other code to be "REGION" instead of "REG" so it's less ambiguous. Do the same for VFU_REG_FLAG_*. Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'lib/private.h')
-rw-r--r--lib/private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private.h b/lib/private.h
index dfe8b85..0c4878c 100644
--- a/lib/private.h
+++ b/lib/private.h
@@ -75,7 +75,7 @@ struct vfu_sparse_mmap_areas {
typedef struct {
/*
- * Region flags, see VFU_REG_FLAG_XXX above.
+ * Region flags, see VFU_REGION_FLAG_READ and friends.
*/
uint32_t flags;
@@ -93,7 +93,7 @@ typedef struct {
/*
* Callback function that is called when the region is memory mapped.
- * Required if VFU_REG_FLAG_MEM is set, otherwise ignored.
+ * Required if VFU_REGION_FLAG_MEM is set, otherwise ignored.
*/
vfu_map_region_cb_t *map;
struct vfu_sparse_mmap_areas *mmap_areas; /* sparse mmap areas */