Revision f4529722 lib/backend.py
b/lib/backend.py | ||
---|---|---|
1647 | 1647 |
""" |
1648 | 1648 |
hyper = hypervisor.GetHypervisor(instance.hypervisor) |
1649 | 1649 |
try: |
1650 |
hyper.HotplugSupported(instance, action, dev_type)
|
|
1651 |
except (errors.HotplugError, errors.HypervisorError), err:
|
|
1650 |
hyper.VerifyHotplugSupport(instance, action, dev_type)
|
|
1651 |
except errors.HotplugError, err:
|
|
1652 | 1652 |
_Fail("Hotplug is not supported: %s", err) |
1653 | 1653 |
|
1654 | 1654 |
if action == constants.HOTPLUG_ACTION_ADD: |
Also available in: Unified diff