]> git.ipfire.org Git - thirdparty/libvirt.git/commit
hyperv: Functions to work with invocation parameters
authorSri Ramanujam <sramanujam@datto.com>
Tue, 27 Jun 2017 19:13:23 +0000 (15:13 -0400)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 8 Jul 2017 11:44:57 +0000 (13:44 +0200)
commit638a5efd1b3c0ad1691f7d571bfd2170e7fe11c8
tree356c0af2d108b9088175c0f8643d90fa2e839554
parent0ca7f8b5f59095231b1d1af98af7f95102201758
hyperv: Functions to work with invocation parameters

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
src/hyperv/hyperv_wmi.h