def METHOD_NAME(vm_name, options):
    """
    Get some iothreadinfo from the guests xml
    Returns:
        List of iothread ids
    """
    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)
    return xml_info.iothreadids.iothread