summaryrefslogtreecommitdiff
path: root/include/uapi/linux/virtio_pmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/virtio_pmem.h')
-rw-r--r--include/uapi/linux/virtio_pmem.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/linux/virtio_pmem.h b/include/uapi/linux/virtio_pmem.h
index d676b3620383..ede4f3564977 100644
--- a/include/uapi/linux/virtio_pmem.h
+++ b/include/uapi/linux/virtio_pmem.h
@@ -14,6 +14,13 @@
#include <linux/virtio_ids.h>
#include <linux/virtio_config.h>
+/* Feature bits */
+/* guest physical address range will be indicated as shared memory region 0 */
+#define VIRTIO_PMEM_F_SHMEM_REGION 0
+
+/* shmid of the shared memory region corresponding to the pmem */
+#define VIRTIO_PMEM_SHMEM_REGION_ID 0
+
struct virtio_pmem_config {
__le64 start;
__le64 size;