Pass topology to the migration preparation call
@@ -2586,10 +2586,9 @@ func (d *VirtualMachineController) vmUpdateHelperMigrationTarget(origVMI *v1.Vir
}
}
- options := virtualMachineOptions(nil, 0, nil, nil, disksInfo)
+ options := virtualMachineOptions(nil, 0, nil, d.capabilities, disksInfo)
if err := client.SyncMigrationTarget(vmi, options); err != nil {
return fmt.Errorf("syncing migration target failed: %v", err)
-
}
d.recorder.Event(vmi, k8sv1.EventTypeNormal, v1.PreparingTarget.String(), "VirtualMachineInstance Migration Target Prepared.")
