def METHOD_NAME(vm_name, options):
    """
    Get some iothreadpins info from the guests xml
    Returns:
        The iothreadpins
    """
    if "--config" in options:
        xml_info = vm_xml.VMXML.new_from_inactive_dumpxml(vm_name)
    else:
        xml_info = vm_xml.VMXML.new_from_dumpxml(vm_name)
    logging.debug("domxml: %s", xml_info)
    try:
        return xml_info.cputune.iothreadpins
    except xcepts.LibvirtXMLNotFoundError:
        return None