def METHOD_NAME(plat, option):
    xat_enabled = option['cmdline_args']['xat']
    if xat_enabled and plat.get('machine') == 'x86_64':
        logging.error(".xat format not available for cloud platforms")
        exit(-1)
    return plat