[linux-kvm][PATCH 4/4] UBUNTU: kvm: [config] Enable 9P fs

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


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

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

In Kata Containers the root filesystem of the container is shared
and mounted in the container through 9P

Next configs are needed to support 9P
* CONFIG_9P_FS
* CONFIG_9P_FS_POSIX_ACL
* CONFIG_9P_FS_SECURITY
* CONFIG_NET_9P
* CONFIG_NET_9P_VIRTIO

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

diff --git a/debian.kvm/abi/4.4.0-1019.24/amd64/kvm.modules b/debian.kvm/abi/4.4.0-1019.24/amd64/kvm.modules
index 25c0645..c7e32cb 100644
--- a/debian.kvm/abi/4.4.0-1019.24/amd64/kvm.modules
+++ b/debian.kvm/abi/4.4.0-1019.24/amd64/kvm.modules
@@ -1,5 +1,3 @@
-9p
-9pnet
 adfs
 af-rxrpc
 affs
diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
index bae4b80..37300968 100644
--- a/debian.kvm/config/config.common.ubuntu
+++ b/debian.kvm/config/config.common.ubuntu
@@ -3,9 +3,9 @@
 #
 CONFIG_64BIT=y
 # CONFIG_6LOWPAN is not set
-CONFIG_9P_FS=m
-# CONFIG_9P_FS_POSIX_ACL is not set
-# CONFIG_9P_FS_SECURITY is not set
+CONFIG_9P_FS=y
+CONFIG_9P_FS_POSIX_ACL=y
+CONFIG_9P_FS_SECURITY=y
 # CONFIG_ABX500_CORE is not set
 # CONFIG_ACCESSIBILITY is not set
 CONFIG_ACPI=y
@@ -1300,9 +1300,9 @@ CONFIG_NETLABEL=y
 CONFIG_NETWORK_FILESYSTEMS=y
 # CONFIG_NETWORK_PHY_TIMESTAMPING is not set
 CONFIG_NETWORK_SECMARK=y
-CONFIG_NET_9P=m
+CONFIG_NET_9P=y
 # CONFIG_NET_9P_DEBUG is not set
-# CONFIG_NET_9P_VIRTIO is not set
+CONFIG_NET_9P_VIRTIO=y
 CONFIG_NET_CORE=y
 # CONFIG_NET_DSA is not set
 # CONFIG_NET_DSA_MV88E6XXX is not set
-- 
2.7.4





More information about the kernel-team mailing list