[PATCH 1/4] Connector: Add an index to support key/value pair (KVP) functionality

Ky Srinivasan ksrinivasan at novell.com
Fri Dec 17 01:35:00 UTC 2010



Added a connector index to support key value/pair (KVP) functionality
for Linux guests hosted on a HyperV platform.



Signed-off-by: K. Y. Srinivasan <ksrinivasan at novell.com>
---
 include/linux/connector.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/linux/connector.h b/include/linux/connector.h
index 7e8ca75..2e9759c 100644
--- a/include/linux/connector.h
+++ b/include/linux/connector.h
@@ -42,8 +42,9 @@
 #define CN_VAL_DM_USERSPACE_LOG		0x1
 #define CN_IDX_DRBD			0x8
 #define CN_VAL_DRBD			0x1
+#define CN_KVP_IDX			0x9	/* HyperV KVP */
 
-#define CN_NETLINK_USERS		8
+#define CN_NETLINK_USERS		9
 
 /*
  * Maximum connector's message size.
-- 
1.7.1






More information about the devel mailing list