2 * QEMU header file for libpmem.
4 * Copyright (c) 2018 Intel Corporation.
6 * Author: Haozhong Zhang <address@hidden>
8 * This work is licensed under the terms of the GNU GPL, version 2 or later.
9 * See the COPYING file in the top-level directory.
17 #else /* !CONFIG_LIBPMEM */
20 pmem_memcpy_persist(void *pmemdest
, const void *src
, size_t len
)
22 /* If 'pmem' option is 'on', we should always have libpmem support,
23 or qemu will report a error and exit, never come here. */
24 g_assert_not_reached();
29 pmem_persist(const void *addr
, size_t len
)
31 g_assert_not_reached();
34 #endif /* CONFIG_LIBPMEM */
36 #endif /* QEMU_PMEM_H */