[libvirt] [PATCH v5 1/5] hyperv: Functions to work with invocation parameters.

Matthias Bolte matthias.bolte at googlemail.com
Sun Jun 18 12:17:02 UTC 2017


2017-06-12 22:13 GMT+02:00 Sri Ramanujam <sramanujam at datto.com>:
> This commit introduces functionality for creating and working with
> invoke parameters. This commit does not include any code for serializing
> and actually performing the method invocations; it merely defines the
> functions and API for using invocation parameters in driver code.
>
> HYPERV_DEFAULT_PARAM_COUNT was chosen because almost no method
> invocations have more than 4 parameters.
>
> Functions added:
> * hypervInitInvokeParamsList
> * hypervFreeInvokeParams
> * hypervAddSimpleParam
> * hypervAddEprParam
> * hypervCreateEmbeddedParam
> * hypervSetEmbeddedProperty
> * hypervAddEmbeddedParam
> * hypervFreeEmbeddedParam
> ---
>  src/hyperv/hyperv_wmi.c | 262 ++++++++++++++++++++++++++++++++++++++++++++++++
>  src/hyperv/hyperv_wmi.h |  79 ++++++++++++++-
>  2 files changed, 340 insertions(+), 1 deletion(-)

This one looks okay.


-- 
Matthias Bolte
http://photron.blogspot.com




More information about the libvir-list mailing list