Revision 3ae003d8 lib/hypervisor/hv_fake.py
b/lib/hypervisor/hv_fake.py | ||
---|---|---|
344 | 344 |
|
345 | 345 |
""" |
346 | 346 |
return objects.MigrationStatus(status=constants.HV_MIGRATION_COMPLETED) |
347 |
|
|
348 |
def HotplugSupported(self, instance, action, dev_type): |
|
349 |
"""Whether hotplug is supported. |
|
350 |
|
|
351 |
""" |
|
352 |
raise errors.HypervisorError("Hotplug not supported by the fake hypervisor") |
Also available in: Unified diff