Revision 58d38b02 lib/backend.py
b/lib/backend.py | ||
---|---|---|
1155 | 1155 |
hyper = hypervisor.GetHypervisor(instance.hypervisor) |
1156 | 1156 |
|
1157 | 1157 |
try: |
1158 |
hyper.MigrateInstance(instance.name, target, live)
|
|
1158 |
hyper.MigrateInstance(instance, target, live) |
|
1159 | 1159 |
except errors.HypervisorError, err: |
1160 | 1160 |
_Fail("Failed to migrate instance: %s", err, exc=True) |
1161 | 1161 |
|
Also available in: Unified diff