This patchset introduces functionality to support invoking Hyper-V methods over WMI.
It also includes implementations for virDomainSendKey and virDomainSetMemory as
examples of how to use the new functionality.
With this patchset, all the pieces should be in place to implement all parts
of the driver. I've got about 30 functions pending, to be submitted after this
patchset is ACKed.
Additionally, this patchset includes a new function under util that converts
numbers into their string representation. There is a variant for both signed
and unsigned numbers. Since everything must be represented as a string at the XML
layer, this function comes in handy throughout the Hyper-V driver and I thought
it would have some utility as a convenience method for the whole project.
Sri Ramanujam (6):
hyperv: Functions to work with invocation parameters.
hyperv: Generate object property type information.
hyperv: add hypervInvokeMethod
hyperv: support virDomainSendKey
util: add virNumToStr
hyperv: Add support for virDomainSetMemory
src/hyperv/hyperv_driver.c | 182 +++++++
src/hyperv/hyperv_wmi.c | 879 ++++++++++++++++++++++++++++++++++
src/hyperv/hyperv_wmi.h | 93 +++-
src/hyperv/hyperv_wmi_classes.h | 19 +
src/hyperv/hyperv_wmi_generator.input | 116 +++++
src/hyperv/hyperv_wmi_generator.py | 15 +-
src/hyperv/openwsman.h | 4 +
src/util/virstring.c | 34 ++
src/util/virstring.h | 8 +
9 files changed, 1348 insertions(+), 2 deletions(-)
--
2.9.3