[PATCH]: An implementation of HyperV KVP functionality

2010-11-11 Thread Ky Srinivasan
I am enclosing a patch that implements the KVP (Key Value Pair) functionality for Linux guests on HyperV. This functionality allows Microsoft Management stack to query information from the guest. This functionality is implemented in two parts: (a) A kernel component that communicates with the

Re: [PATCH]: An implementation of HyperV KVP functionality

2010-11-11 Thread Stephen Hemminger
On Thu, 11 Nov 2010 13:03:10 -0700 Ky Srinivasan ksriniva...@novell.com wrote: +static char *kvp_keys[KVP_MAX_KEY] = {FullyQualifiedDomainName, + IntegrationServicesVersion, + NetworkAddressIPv4, +

Re: [PATCH]: An implementation of HyperV KVP functionality

2010-11-11 Thread Greg KH
On Thu, Nov 11, 2010 at 01:03:10PM -0700, Ky Srinivasan wrote: +/* + * Array of keys we support in Linux. Not really, you can support any number of keys as the kernel shouldn't care, or did I get it wrong? + * + */ +#define KVP_MAX_KEY 10 +#define KVP_LIC_VERSION 1 Um, this is a nice

Re: [PATCH]: An implementation of HyperV KVP functionality

2010-11-11 Thread Greg KH
On Thu, Nov 11, 2010 at 01:03:10PM -0700, Ky Srinivasan wrote: +/* + * An implementation of key value pair (KVP) functionality for Linux. + * + * + * Copyright (C) 2010, Novell, Inc. + * Author : K. Y. Srinivasan ksriniva...@novell.com + * + * This program is free software; you can