[PATCH 02/15] Drivers: hv: Add KVP definitions for IP address injection

Olaf Hering olaf at aepfle.de
Tue Jul 17 04:09:13 UTC 2012


On Sat, Jul 14, K. Y. Srinivasan wrote:

> diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
> index 68ed7f7..38b561a 100644
> --- a/include/linux/hyperv.h
> +++ b/include/linux/hyperv.h
> @@ -127,6 +127,8 @@ enum hv_kvp_exchg_op {
>  	KVP_OP_SET,
>  	KVP_OP_DELETE,
>  	KVP_OP_ENUMERATE,
> +	KVP_OP_GET_IP_INFO,
> +	KVP_OP_SET_IP_INFO,
>  	KVP_OP_REGISTER,
>  	KVP_OP_COUNT /* Number of operations, must be last. */
>  };

I think this will break the kernel/daemon API for existing binaries.
Perhaps a forward/backwards compatible API where an older binary
continues to work with a newer kernel should be added.

Olaf



More information about the devel mailing list