Tweaks and cleanups to prepare hyperv for CI

Small fixes for bugs in the hyperv code that were made obvious when
manually preparing to run pkg/machine/e2e with windows and hyperv.

Also includes vendoring a new libhvee and solves bug where json config
was not being removed.

[NO NEW TESTS NEEDED]

Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
Brent Baude
2023-08-25 13:11:38 -05:00
parent e73e585f5d
commit a62abfe3d6
7 changed files with 30 additions and 16 deletions

View File

@@ -240,7 +240,7 @@ func (vm *VirtualMachine) Stop() error {
}
// Wait for vm to actually *be* down
for i := 0; i < 25; i++ {
for i := 0; i < 200; i++ {
refreshVM, err := vm.vmm.GetMachine(vm.ElementName)
if err != nil {
return err