Add CONFIG_PMEM to enable NVDIMM persistent memory support. By
default, it's N.

Signed-off-by: Haozhong Zhang <haozhong.zh...@intel.com>
---
Cc: Andrew Cooper <andrew.coop...@citrix.com>
Cc: George Dunlap <george.dun...@eu.citrix.com>
Cc: Ian Jackson <ian.jack...@eu.citrix.com>
Cc: Jan Beulich <jbeul...@suse.com>
Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>
Cc: Stefano Stabellini <sstabell...@kernel.org>
Cc: Tim Deegan <t...@xen.org>
Cc: Wei Liu <wei.l...@citrix.com>
---
 xen/common/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 103ef44cb5..1a4d7d93bb 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -282,4 +282,12 @@ config CMDLINE_OVERRIDE
 
          This is used to work around broken bootloaders. This should
          be set to 'N' under normal conditions.
+
+config NVDIMM_PMEM
+       bool "Persistent memory support"
+       default n
+       ---help---
+         Enable support for NVDIMM in the persistent memory mode.
+
+         If unsure, say N.
 endmenu
-- 
2.15.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to