Skip to content

drivers: hv: kvp

K. Y. Srinivasan lkml virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15Drivers: hv: Format GUIDS as per MSFT standardsdrivers/hv/vmbus_drv.c+2 -27 replies
2/15Drivers: hv: Add KVP definitions for IP address injectiondrivers/hv/hv_util.c include/linux/hyperv.h tools/hv/hv_kvp_daemon.c+33 -33 replies
3/15Drivers: hv: kvp: Cleanup error handling in KVPdrivers/hv/hv_kvp.c include/linux/hyperv.h tools/hv/hv_kvp_daemon.c+63 -560 replies
4/15Drivers: hv: kvp: Support the new IP injection messagesdrivers/hv/hv_kvp.c+133 -80 replies
5/15Tools: hv: Prepare to expand kvp_get_ip_address() functionalitytools/hv/hv_kvp_daemon.c+84 -450 replies
6/15Tools: hv: Further refactor kvp_get_ip_address()tools/hv/hv_kvp_daemon.c+42 -520 replies
7/15Tools: hv: Gather address family informationtools/hv/hv_kvp_daemon.c+11 -00 replies
8/15Tools: hv: Gather subnet informationtools/hv/hv_kvp_daemon.c+29 -20 replies
9/15Tools: hv: Represent the ipv6 mask using CIDR notationtools/hv/hv_kvp_daemon.c+35 -100 replies
10/15Tools: hv: Gather ipv[4,6] gateway informationtools/hv/hv_kvp_daemon.c+72 -00 replies
11/15Tools: hv: Gather DNS informationtools/hv/hv_kvp_daemon.c+27 -00 replies
12/15Tools: hv: Gather DHCP informationtools/hv/hv_kvp_daemon.c+33 -03 replies
13/15Tools: hv: Implement the KVP verb - KVP_OP_SET_IP_INFOtools/hv/hv_kvp_daemon.c+324 -00 replies
14/15Tools: hv: Rename the function kvp_get_ip_address()tools/hv/hv_kvp_daemon.c+3 -30 replies
15/15Tools: hv: Implement the KVP verb - KVP_OP_GET_IP_INFOtools/hv/hv_kvp_daemon.c+89 -00 replies

Reviews trailers per patch

All 15 patches have a Reviewed-by or Acked-by.

PatchHaiyang Zhang
1/15R-b
2/15R-b
3/15R-b
4/15R-b
5/15R-b
6/15R-b
7/15R-b
8/15R-b
9/15R-b
10/15R-b
11/15R-b
12/15R-b
13/15R-b
14/15R-b
15/15R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/15] drivers: hv: kvp

This patchset expands the KVP (Key Value Pair) functionality to implement the mechanism to GET/SET IP addresses in the guest. This functionality is used in Windows Server 2012 to implement VM replication functionality. The way IP configuration information is managed is distro specific. Based on the feedback I have gotten from Olaf, Greg, Steve, Ben and Mairus, I have chosen to seperate distro specific code from this patch-set. Most of the GET operation can be implemented in a way that is completely distro independent and I have implemented that as such and is included in this patch-set. Some of the attributes that can only be fetched in a distro dependent way as well the mechanism for configuring an interface (the SET operation) that is cledarly distro specific is to be implemented via external scripts that will be invoked via the KVP code. We define here the interface to these scripts.

K. Y. Srinivasan (15):
Drivers: hv: Format GUIDS as per MSFT standards
Drivers: hv: Add KVP definitions for IP address injection
Drivers: hv: kvp: Cleanup error handling in KVP
Drivers: hv: kvp: Support the new IP injection messages
Tools: hv: Prepare to expand kvp_get_ip_address() functionality
Tools: hv: Further refactor kvp_get_ip_address()
Tools: hv: Gather address family information
Tools: hv: Gather subnet information
Tools: hv: Represent the ipv6 mask using CIDR notation
Tools: hv: Gather ipv[4,6] gateway information
Tools: hv: Gather DNS information
Tools: hv: Gather DHCP information
Tools: hv: Implement the KVP verb - KVP_OP_SET_IP_INFO
Tools: hv: Rename the function kvp_get_ip_address()
Tools: hv: Implement the KVP verb - KVP_OP_GET_IP_INFO

 drivers/hv/hv_kvp.c      |  172 +++++++++--
 drivers/hv/hv_util.c     |    4 +-
 drivers/hv/vmbus_drv.c   |    4 +-
 include/linux/hyperv.h   |   45 +++-
 tools/hv/hv_kvp_daemon.c |  804 +++++++++++++++++++++++++++++++++++++++++-----
 5 files changed, 914 insertions(+), 115 deletions(-)
Signature · 1 line
1.7.4.1