diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2012-03-10 18:32:08 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-13 17:35:25 -0400 |
commit | e485ceac9ebd43901ef0ce13622385d509e072e7 (patch) | |
tree | 74ba59bdaea967ab3dcc53fabd5dc163b2f2411c /tools/hv | |
parent | 04bf30115f4ba2beda1efb6cfbae49cdc757f3a9 (diff) |
Drivers: hv: Add new message types to enhance KVP
Add additional KVP (Key Value Pair) protocol messages to
enhance KVP functionality for Linux guests on Hyper-V. As part of this,
patch define an explicit version negoitiation message.
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/hv')
-rw-r--r-- | tools/hv/hv_kvp_daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_daemon.c index 4ebf70380582..00d3f7c099e0 100644 --- a/tools/hv/hv_kvp_daemon.c +++ b/tools/hv/hv_kvp_daemon.c | |||
@@ -378,7 +378,7 @@ int main(void) | |||
378 | * Driver is registering with us; stash away the version | 378 | * Driver is registering with us; stash away the version |
379 | * information. | 379 | * information. |
380 | */ | 380 | */ |
381 | p = (char *)hv_msg->body.kvp_version; | 381 | p = (char *)hv_msg->body.kvp_register.version; |
382 | lic_version = malloc(strlen(p) + 1); | 382 | lic_version = malloc(strlen(p) + 1); |
383 | if (lic_version) { | 383 | if (lic_version) { |
384 | strcpy(lic_version, p); | 384 | strcpy(lic_version, p); |