'Abort an in-progress live migration.
:param context: Security context
:param instance: The instance that is being migrated
:param migration_id: ID of in-progress live migration'

@wrap_exception()
@wrap_instance_event(prefix='compute')
@wrap_instance_fault
def live_migration_abort(self, context, instance, migration_id):

    migration = objects.Migration.get_by_id(context, migration_id)
    if (migration.status != 'running'):
        raise exception.InvalidMigrationState(migration_id=migration_id, instance_uuid=instance.uuid, state=migration.status, method='abort    live    migration')
    self._notify_about_instance_usage(context, instance, 'live.migration.abort.start')
    self.driver.live_migration_abort(instance)
    self._notify_about_instance_usage(context, instance, 'live.migration.abort.end')
