Update to libhvee 0.5.0

Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
Brent Baude
2023-11-17 13:16:25 -06:00
parent a6bb601400
commit 60d9f9b807
18 changed files with 298 additions and 61 deletions

View File

@@ -43,7 +43,7 @@ func (d *SyntheticDiskDriveSettings) DefineVirtualHardDisk(vhdxFile string, befo
func createDiskResourceInternal(systemPath string, drivePath string, file string, settings diskAssociation, resourceType string, cb func()) error {
var service *wmiext.Service
var err error
if service, err = wmiext.NewLocalService(HyperVNamespace); err != nil {
if service, err = NewLocalHyperVService(); err != nil {
return err
}
defer service.Close()