Skip to content

Commit

Permalink
Tools: hv: Implement the KVP verb - KVP_OP_SET_IP_INFO
Browse files Browse the repository at this point in the history
Implement the KVP verb - KVP_OP_SET_IP_INFO. This operation configures the
specified interface based on the given configuration. Since configuring
an interface is very distro specific, we invoke an external (Distro specific)
script to configure the interface.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Sep 10, 2012
1 parent 1fbdba4 commit 32061b4
Show file tree
Hide file tree
Showing 2 changed files with 445 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/hyperv.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ enum hv_kvp_exchg_pool {
#define HV_ERROR_NOT_SUPPORTED 0x80070032
#define HV_ERROR_MACHINE_LOCKED 0x800704F7
#define HV_ERROR_DEVICE_NOT_CONNECTED 0x8007048F
#define HV_INVALIDARG 0x80070057
#define HV_GUID_NOTFOUND 0x80041002

#define ADDR_FAMILY_NONE 0x00
#define ADDR_FAMILY_IPV4 0x01
Expand Down
Loading

0 comments on commit 32061b4

Please sign in to comment.