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)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 2 Apr 2012 20:25:41 +0000 (13:25 -0700)
commit41774b4a65bd99d4305aa75774e1422656b376cd
tree4d187f05e7de3a76221f2fb3daa47229f96b9605
parent53cf1a5e95526200a6f85e5be623fe7cc7f5934f
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>
(cherry picked from commit fa3d5b85c681518b6e4ec515814dcb2d5b702b89)

Signed-off-by: Andy Whitcroft <apw@canonical.com>
drivers/hv/hv_kvp.c
include/linux/hyperv.h
tools/hv/hv_kvp_daemon.c