drivers: hv: kvp
Status from this message: I've applied the first 7 patches here, feel free to submit the rest when
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 posting 2/21 patch 0 repliesNew
- v3 Latest posting 3/314 patches 15 repliesApplied
- v3 posting 2/30 of 14 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 posting 1/3 | 14 patches | 1 reply | Superseded | |
| v2 posting 1/2 | 18 patches | 11 replies | Superseded | |
| v1 | 17 patches | 27 replies | Superseded |
Patches in v3 posting 3/3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | Drivers: hv: kvp: Support the new IP injection messagesdrivers/ | +135 | 0 replies | |
| 2/14 | Tools: hv: Prepare to expand kvp_get_ip_address() functionalitytools/ | +84 | 0 replies | |
| 3/14 | Tools: hv: Further refactor kvp_get_ip_address()tools/ | +42 | 0 replies | |
| 4/14 | Tools: hv: Gather address family informationtools/ | +11 | 0 replies | |
| 5/14 | Tools: hv: Gather subnet informationtools/ | +29 | 0 replies | |
| 6/14 | Tools: hv: Represent the ipv6 mask using CIDR notationtools/ | +36 | 0 replies | |
| 7/14 | Tools: hv: Gather ipv[4,6] gateway informationtools/ | +68 | 0 replies | |
| 8/14 | Tools: hv: Gather DNS informationtools/ | +23 | 15 replies | |
| 9/14 | Tools: hv: Gather DHCP informationtools/ | +31 | 0 replies | |
| 10/14 | Tools: hv: Implement the KVP verb - KVP_OP_SET_IP_INFOinclude/ tools/ | +445 | 0 replies | |
| 11/14 | Tools: hv: Rename the function kvp_get_ip_address()tools/ | +3 | 0 replies | |
| 12/14 | Tools: hv: Implement the KVP verb - KVP_OP_GET_IP_INFOtools/ | +90 | 0 replies | |
| 13/14 | Tools: hv: Get rid of some unused variablestools/ | +1 | 0 replies | |
| 14/14 | Tools: hv: Correctly type string variablestools/ | +4 | 0 replies |
Reviews trailers per patch
All 14 patches have a Reviewed-by or Acked-by.
| Patch | Haiyang Zhang |
|---|---|
| 1/14 | R-b |
| 2/14 | R-b |
| 3/14 | R-b |
| 4/14 | R-b |
| 5/14 | R-b |
| 6/14 | R-b |
| 7/14 | R-b |
| 8/14 | R-b |
| 9/14 | R-b |
| 10/14 | R-b |
| 11/14 | R-b |
| 12/14 | R-b |
| 13/14 | R-b |
| 14/14 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V3 00/14] drivers: hv: kvp
This patch set 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 clearly 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.
Adding support for IP injection resulted in some changes to the protocol between the user level daemon and the kernel driver. These changes have been implemented in way that would retain compatibility with older daemons. I would like to thank Olaf and Greg for pointing out the compatibility issue.
This version of the patch set addresses all of the comments that I have received to date from Olaf, Ben and others. Specifically, I have cleanedup all of the string manipulation code. Furthermore, I have also simplified the format of the interface configuration file that is generated by the KVP daemon and gotten rid of some constant strings that may not be relevant on all distros. I would like to thank Olaf and Ben for their detailed review.
Following are the changes from V2 of this patch set:
1. Addressed the indentation issue Greg noted in the patch:
0001-Drivers-hv-kvp-Support-the-new-IP-injection-messages.patch
2. Cleaned up the Reviewed-byi line based on input from Ben and Greg.
3. Since Ben had an identical patch for properly closing the open streams, I have not included that patch in this series.
4. Greg applied the first 3 patches of the V2 patch set. This version has the remaining patches.
K. Y. Srinivasan (14):
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
Tools: hv: Get rid of some unused variables
Tools: hv: Correctly type string variables
drivers/hv/hv_kvp.c | 141 +++++++- include/linux/hyperv.h | 2 + tools/hv/hv_kvp_daemon.c | 866 ++++++++++++++++++++++++++++++++++++++++++---- 3 files changed, 942 insertions(+), 67 deletions(-)
Signature · 1 line
1.7.4.1