def METHOD_NAME(result):
    """
    Check the result
    """
    libvirt.check_exit_status(result, status_error)
    if not status_error:
        check_libvirt_log()
        # Pivot the blockcopy process
        virsh.blockjob(vm_name, target_disk, options=abort_option,
                       debug=True, ignore_status=False)
    else:
        if error_msg:
            libvirt.check_result(result, error_msg)