[Devel] [PATCH rh7] ve: mark SYSFS and IPGRE features deprecated

Konstantin Khorenko khorenko at virtuozzo.com
Fri Oct 9 03:55:33 PDT 2015


Initially features were used in order to prevent CT owners
from some functionality which might be dangerous or
lead to some restrictions on the CT management like
a CT with NFSd inside cannot be migrated online.

In PCS6 we already had VE_FEATURE_IPGRE feature deprecated
and now we don't see any reasons to have sysfs-related limits

=> mark VE_FEATURE_SYSFS and VE_FEATURE_IPGRE features deprecated.

https://jira.sw.ru/browse/PSBM-33687

Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 include/uapi/linux/vzcalluser.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/uapi/linux/vzcalluser.h b/include/uapi/linux/vzcalluser.h
index d517348..7c83033 100644
--- a/include/uapi/linux/vzcalluser.h
+++ b/include/uapi/linux/vzcalluser.h
@@ -115,13 +115,13 @@ struct env_create_param3 {
 	__u64				known_features;
 };
 
-#define VE_FEATURE_SYSFS	(1ULL << 0)
+#define VE_FEATURE_SYSFS	(1ULL << 0)	/* deprecated */
 #define VE_FEATURE_NFS		(1ULL << 1)
 #define VE_FEATURE_DEF_PERMS	(1ULL << 2)
 #define VE_FEATURE_SIT          (1ULL << 3)
 #define VE_FEATURE_IPIP         (1ULL << 4)
 #define VE_FEATURE_PPP		(1ULL << 5)
-#define VE_FEATURE_IPGRE	(1ULL << 6)
+#define VE_FEATURE_IPGRE	(1ULL << 6)	/* deprecated */
 #define VE_FEATURE_BRIDGE	(1ULL << 7)
 #define VE_FEATURE_NFSD		(1ULL << 8)
 
-- 
1.8.3.1




More information about the Devel mailing list