]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe7a567c0821e3e71ad47bb2861213d68c42c5f4
treea4da543c22e4fb90bb75b977728501ca42f92870
parentefa5f3fae91296cb73c9eb410c73e9047f330ba5
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