]> 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)
commit0e31b942bc8bb4e3e4d987f0c704b927620e7ed4
treea4da543c22e4fb90bb75b977728501ca42f92870
parent0a2dde8d5406eb8270088cdbe54061dca539fddb
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