summary refs log tree commit diff stats
path: root/include/standard-headers/linux/virtio_pmem.h
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <dbarboza@ventanamicro.com>2024-03-04 10:47:31 -0300
committerAlistair Francis <alistair.francis@wdc.com>2024-03-08 20:48:03 +1000
commit6a02465f917d549c7ea8e0ca799724fb818e1120 (patch)
tree5b0b65222d863711988e5179c61f31e36ef8dbc0 /include/standard-headers/linux/virtio_pmem.h
parente73d59675ded3690893550777056412be95ea16f (diff)
downloadfocaccia-qemu-6a02465f917d549c7ea8e0ca799724fb818e1120.tar.gz
focaccia-qemu-6a02465f917d549c7ea8e0ca799724fb818e1120.zip
linux-headers: Update to Linux v6.8-rc6
The idea with this update is to get the latest KVM caps for RISC-V.

Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20240304134732.386590-2-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'include/standard-headers/linux/virtio_pmem.h')
-rw-r--r--include/standard-headers/linux/virtio_pmem.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/standard-headers/linux/virtio_pmem.h b/include/standard-headers/linux/virtio_pmem.h
index fc029de798..1a2576d017 100644
--- a/include/standard-headers/linux/virtio_pmem.h
+++ b/include/standard-headers/linux/virtio_pmem.h
@@ -14,6 +14,13 @@
 #include "standard-headers/linux/virtio_ids.h"
 #include "standard-headers/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 {
 	uint64_t start;
 	uint64_t size;