Drivers: hv: Support the newly introduced KVP messages in the driver
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 16 Mar 2012 15:02:25 +0000 (08:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Mar 2012 20:36:04 +0000 (13:36 -0700)
commitfa3d5b85c681518b6e4ec515814dcb2d5b702b89
treea4da543c22e4fb90bb75b977728501ca42f92870
parente485ceac9ebd43901ef0ce13622385d509e072e7
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>
drivers/hv/hv_kvp.c
include/linux/hyperv.h
tools/hv/hv_kvp_daemon.c