[linux-kvm][PATCH 3/4] UBUNTU: kvm: [config] Enable DAX

Kamal Mostafa kamal at canonical.com
Tue Feb 27 18:37:00 UTC 2018


From: Julio Montes <julio.montes at intel.com>

BugLink: http://bugs.launchpad.net/bugs/1752147

Kata Containers use DAX to start the virtual machine improving the boot time

Next configs are needed to enable DAX
* CONFIG_BLK_DEV_RAM
* CONFIG_FS_DAX

Signed-off-by: Julio Montes <julio.montes at intel.com>
Signed-off-by: Samuel Ortiz <sameo at linux.intel.com>
---
 debian.kvm/config/config.common.ubuntu | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
index 16a9622..bae4b80 100644
--- a/debian.kvm/config/config.common.ubuntu
+++ b/debian.kvm/config/config.common.ubuntu
@@ -177,7 +177,10 @@ CONFIG_BLK_DEV_MD=m
 # CONFIG_BLK_DEV_NVME is not set
 # CONFIG_BLK_DEV_OSD is not set
 # CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
-# CONFIG_BLK_DEV_RAM is not set
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_DAX=y
+CONFIG_BLK_DEV_RAM_SIZE=4096
 # CONFIG_BLK_DEV_RBD is not set
 # CONFIG_BLK_DEV_RSXX is not set
 # CONFIG_BLK_DEV_SD is not set
@@ -625,7 +628,7 @@ CONFIG_FRAME_WARN=2048
 # CONFIG_FRONTSWAP is not set
 # CONFIG_FSCACHE is not set
 CONFIG_FSNOTIFY=y
-# CONFIG_FS_DAX is not set
+CONFIG_FS_DAX=y
 CONFIG_FS_MBCACHE=y
 CONFIG_FS_POSIX_ACL=y
 # CONFIG_FTL is not set
-- 
2.7.4





More information about the kernel-team mailing list