Here's a GitLab MR if you'd prefer to review it there:
https://gitlab.com/iammattcoleman/libvirt/-/merge_requests/12/commits
Matt Coleman (23):
hyperv: XML parsing of storage volumes
schema: add support for Windows file paths and device names
hyperv: ambiguous VM names will throw an error
hyperv: implement domainUndefine and domainUndefineFlags
hyperv: implement domainCreateXML and domainDefineXML
hyperv: add hypervMsvmVSMSAddResourceSettings
hyperv: create SCSI controllers when defining domains
hyperv: attach virtual disks when defining domains
hyperv: attach physical disks when defining domains
hyperv: attach virtual optical disks when defining domains
hyperv: attach floppy disks when defining domains
hyperv: implement domainAttachDevice and domainAttachDeviceFlags
hyperv: store the Hyper-V version when connecting
hyperv: add inheritance to the WMI generator
XML parsing of serial ports
hyperv: add support for creating serial devices
hyperv: XML parsing of Ethernet adapters
hyperv: add support for creating network adapters
hyperv: implement connectListAllNetworks and connectNumOfNetworks
hyperv: implement networkLookupByName and networkLookupByUUID
hyperv: implement connectNumOfDefinedNetworks and
connectListDefinedNetworks
hyperv: implement networkGetAutostart, networkIsActive, and
networkIsPersistent
hyperv: implement networkGetXMLDesc
docs/schemas/basictypes.rng | 2 +-
docs/schemas/domaincommon.rng | 5 +-
include/libvirt/virterror.h | 1 +
po/POTFILES.in | 1 +
scripts/hyperv_wmi_generator.py | 12 +-
src/hyperv/hyperv_driver.c | 1812 ++++++++++++++++-
src/hyperv/hyperv_driver.h | 3 +
src/hyperv/hyperv_network_driver.c | 250 +++
src/hyperv/hyperv_network_driver.h | 26 +
src/hyperv/hyperv_private.h | 3 +
src/hyperv/hyperv_wmi.c | 156 ++
src/hyperv/hyperv_wmi.h | 25 +
src/hyperv/hyperv_wmi_classes.h | 35 +
src/hyperv/hyperv_wmi_generator.input | 280 +++
src/hyperv/meson.build | 1 +
src/util/virerror.c | 6 +-
.../disk-hyperv-physical.xml | 17 +
.../disk-hyperv-virtual.xml | 17 +
.../disk-hyperv-physical.xml | 23 +
.../disk-hyperv-virtual.xml | 23 +
tests/genericxml2xmltest.c | 2 +
21 files changed, 2655 insertions(+), 45 deletions(-)
create mode 100644 src/hyperv/hyperv_network_driver.c
create mode 100644 src/hyperv/hyperv_network_driver.h
create mode 100644 tests/genericxml2xmlindata/disk-hyperv-physical.xml
create mode 100644 tests/genericxml2xmlindata/disk-hyperv-virtual.xml
create mode 100644 tests/genericxml2xmloutdata/disk-hyperv-physical.xml
create mode 100644 tests/genericxml2xmloutdata/disk-hyperv-virtual.xml
--
2.27.0