Revision 50e0f1d9 lib/backend.py

b/lib/backend.py
1987 1987
  """
1988 1988
  hyper = hypervisor.GetHypervisor(instance.hypervisor)
1989 1989
  try:
1990
    hyper.HotplugSupported(instance, action, dev_type)
1991
  except (errors.HotplugError, errors.HypervisorError), err:
1990
    hyper.VerifyHotplugSupport(instance, action, dev_type)
1991
  except errors.HotplugError, err:
1992 1992
    _Fail("Hotplug is not supported: %s", err)
1993 1993

  
1994 1994
  if action == constants.HOTPLUG_ACTION_ADD:

Also available in: Unified diff