Drivers: hv: Support the newly introduced KVP messages in the driver

Support the newly defined KVP message types. It turns out that the host
pushes a set of standard key value pairs as soon as the guest opens the KVP channel.
Since we cannot handle these tuples until the user level daemon loads up, defer
reading the KVP channel until the user level daemon is launched.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
K. Y. Srinivasan
2012-03-16 08:02:25 -07:00
committed by Greg Kroah-Hartman
parent e485ceac9e
commit fa3d5b85c6
3 changed files with 177 additions and 52 deletions

View File

@@ -119,6 +119,8 @@
*/
#define REG_SZ 1
#define REG_U32 4
#define REG_U64 8
enum hv_kvp_exchg_op {
KVP_OP_GET = 0,