Matt Coleman
|
d68ef58963
|
hyperv: use GLib auto-cleanup in hypervInvokeMethod
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:28 -05:00 |
|
Matt Coleman
|
e9a9707fa3
|
hyperv: use GLib auto-cleanup in hypervDomainSendKey
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:28 -05:00 |
|
Matt Coleman
|
d9c015ec2c
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervConnectListAllDomains
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:28 -05:00 |
|
Matt Coleman
|
97c558b5d7
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervDomainManagedSaveRemove
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:28 -05:00 |
|
Matt Coleman
|
54d96d7fde
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervDomainHasManagedSaveImage
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:28 -05:00 |
|
Matt Coleman
|
92853b9025
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervDomainManagedSave
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:27 -05:00 |
|
Matt Coleman
|
acb9273074
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervDomainIsActive
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:27 -05:00 |
|
Matt Coleman
|
5997e1e218
|
hyperv: use g_autoptr for WMI classes in hypervDomainGetSchedulerParametersFlags
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:27 -05:00 |
|
Matt Coleman
|
230140f59c
|
hyperv: use g_autoptr for Msvm_VirtualSystemSettingData in hypervDomainSetAutostart
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:27 -05:00 |
|
Matt Coleman
|
c468080dce
|
hyperv: use g_autoptr for Msvm_VirtualSystemSettingData in hypervDomainGetAutostart
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:27 -05:00 |
|
Matt Coleman
|
e593d4671e
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervDomainCreateWithFlags
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:27 -05:00 |
|
Matt Coleman
|
8a0c80ab23
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervConnectNumOfDefinedDomains
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:27 -05:00 |
|
Matt Coleman
|
81c9102256
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervConnectListDefinedDomains
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:27 -05:00 |
|
Matt Coleman
|
917ed7592a
|
hyperv: use g_autoptr for WMI classes in hypervDomainGetVcpusFlags
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:27 -05:00 |
|
Matt Coleman
|
f0f0a77ee2
|
hyperv: use g_autoptr for WMI classes in hypervDomainSetVcpusFlags
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:27 -05:00 |
|
Matt Coleman
|
bf965ede11
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervDomainGetState
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:26 -05:00 |
|
Matt Coleman
|
7d24512891
|
hyperv: use g_autoptr for WMI classes in hypervDomainGetInfo
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:26 -05:00 |
|
Matt Coleman
|
51080a21f5
|
hyperv: use g_autoptr for Msvm_DiskDrive in hypervDomainDefParsePhysicalDisk
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:26 -05:00 |
|
Matt Coleman
|
d6d523e6cf
|
hyperv: use g_autoptr for WMI classes in hypervDomainAttachStorage
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:26 -05:00 |
|
Matt Coleman
|
3836e11cec
|
hyperv: use g_autoptr for Msvm_ResourceAllocationSettingData in hypervDomainAttachPhysicalDisk
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:26 -05:00 |
|
Matt Coleman
|
e1e58cb122
|
hyperv: use g_autoptr for Win32_ComputerSystemProduct in hypervLookupHostSystemBiosUuid
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:26 -05:00 |
|
Matt Coleman
|
08df82a72e
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervRequestStateChange
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:26 -05:00 |
|
Matt Coleman
|
f7c167a76e
|
hyperv: use g_autoptr for WMI classes in hypervDomainSetMemoryProperty
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:26 -05:00 |
|
Matt Coleman
|
25faf51e01
|
hyperv: use g_autoptr for WMI classes in hypervDomainGetMaxMemory
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:26 -05:00 |
|
Matt Coleman
|
85fbc6c85d
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervDomainDestroyFlags
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:25 -05:00 |
|
Matt Coleman
|
890f713579
|
hyperv: use g_autoptr for WMI classes in hypervDomainShutdownFlags
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:25 -05:00 |
|
Matt Coleman
|
4ca4c0f7f9
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervDomainResume
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:25 -05:00 |
|
Matt Coleman
|
ebca8a6b72
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervDomainLookupByName
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:25 -05:00 |
|
Matt Coleman
|
38560b7efe
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervDomainLookupByUUID
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:25 -05:00 |
|
Matt Coleman
|
2ce05af9f2
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervDomainLookupByID
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:25 -05:00 |
|
Matt Coleman
|
cd20f59c0b
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervConnectListDomains
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:25 -05:00 |
|
Matt Coleman
|
1274d4e9f6
|
hyperv: use g_autoptr for Msvm_ComputerSystem in hypervConnectNumOfDomains
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:25 -05:00 |
|
Matt Coleman
|
e6d09928b6
|
hyperv: use g_autoptr for WMI classes in hypervNodeGetInfo
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:25 -05:00 |
|
Matt Coleman
|
770186542f
|
hyperv: use g_autoptr for Msvm_ProcessorSettingData in hypervConnectGetMaxVcpus
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:25 -05:00 |
|
Matt Coleman
|
067168bf69
|
hyperv: use g_autoptr for Win32_ComputerSystem in hypervConnectGetHostname
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:25 -05:00 |
|
Matt Coleman
|
1c603b7c02
|
hyperv: use g_autoptr for Win32_OperatingSystem in hypervConnectOpen
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:24 -05:00 |
|
Matt Coleman
|
7c34b298db
|
hyperv: enable automatic cleanup for OpenWSMAN types
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:24 -05:00 |
|
Matt Coleman
|
a245dbdd4a
|
hyperv: enable use of g_autoptr for the rest of the CIM/WMI classes
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:24 -05:00 |
|
Matt Coleman
|
e668d4a57d
|
hyperv: enable use of g_autoptr for hypervObject
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:24 -05:00 |
|
Matt Coleman
|
4d01763e3f
|
hyperv: store hypervPrivate in hypervObject
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:24 -05:00 |
|
Matt Coleman
|
b0c3fa390b
|
hyperv: store the Hyper-V version when connecting
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:24 -05:00 |
|
Matt Coleman
|
0fec6ab9b5
|
hyperv: add a macro for retrieving setting data
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Laine Stump <laine@redhat.com>
|
2021-01-22 14:04:24 -05:00 |
|
Matt Coleman
|
86fb766d54
|
hyperv: implement domainAttachDevice and domainAttachDeviceFlags
Co-authored-by: Sri Ramanujam <sramanujam@datto.com>
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
2021-01-21 10:18:21 +01:00 |
|
Matt Coleman
|
fdc0222095
|
hyperv: attach floppy disks when defining domains
Co-authored-by: Sri Ramanujam <sramanujam@datto.com>
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
2021-01-21 10:18:21 +01:00 |
|
Matt Coleman
|
91b3725099
|
hyperv: attach virtual optical disks when defining domains
Co-authored-by: Sri Ramanujam <sramanujam@datto.com>
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
2021-01-21 10:18:21 +01:00 |
|
Matt Coleman
|
e1eba7bff4
|
hyperv: attach physical disks when defining domains
Co-authored-by: Sri Ramanujam <sramanujam@datto.com>
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
2021-01-21 10:18:21 +01:00 |
|
Matt Coleman
|
677cea803c
|
hyperv: attach virtual disks when defining domains
Co-authored-by: Sri Ramanujam <sramanujam@datto.com>
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
2021-01-21 10:18:21 +01:00 |
|
Matt Coleman
|
ee86227d87
|
hyperv: create SCSI controllers when defining domains
Co-authored-by: Sri Ramanujam <sramanujam@datto.com>
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
2021-01-21 10:18:21 +01:00 |
|
Matt Coleman
|
843aba699e
|
hyperv: add hypervMsvmVSMSAddResourceSettings
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
2021-01-21 10:18:21 +01:00 |
|
Matt Coleman
|
9f38929625
|
hyperv: implement domainDefineXML
Co-authored-by: Sri Ramanujam <sramanujam@datto.com>
Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
2021-01-21 10:18:21 +01:00 |
|