Revision 9f395c32 lib/hypervisor/hv_fake.py

b/lib/hypervisor/hv_fake.py
341 341

  
342 342
    """
343 343
    return objects.MigrationStatus(status=constants.HV_MIGRATION_COMPLETED)
344

  
345
  def HotplugSupported(self, instance, action, dev_type):
346
    """Whether hotplug is supported.
347

  
348
    """
349
    raise errors.HypervisorError("Hotplug not supported by the fake hypervisor")

Also available in: Unified diff