summary refs log tree commit diff stats
path: root/include/qemu/pmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qemu/pmem.h')
-rw-r--r--include/qemu/pmem.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/qemu/pmem.h b/include/qemu/pmem.h
index ebdb070210..dfb6d0da62 100644
--- a/include/qemu/pmem.h
+++ b/include/qemu/pmem.h
@@ -25,6 +25,12 @@ pmem_memcpy_persist(void *pmemdest, const void *src, size_t len)
     return NULL;
 }
 
+static inline void
+pmem_persist(const void *addr, size_t len)
+{
+    g_assert_not_reached();
+}
+
 #endif /* CONFIG_LIBPMEM */
 
 #endif /* !QEMU_PMEM_H */