def METHOD_NAME(self, vm, dev_type_name):
    query_ok = False
    error = None
    props = None
    output = vm.command('human-monitor-command',
                        command_line = 'info qtree')
    props_list = DEV_TYPES[dev_type_name].values();
    pattern = self.make_pattern(props_list)
    res = re.findall(pattern, output)
    if len(res) != len(props_list):
        props_list = set(props_list)
        res = set(res)
        not_found = props_list.difference(res)
        not_found = ', '.join(not_found)
        error = '({0}): The following properties not found: {1}'\
                 .format(dev_type_name, not_found)
    else:
        query_ok = True
        props = dict()
        for prop in res:
            p = prop.split(' = ')
            props[p[0]] = p[1]
    return query_ok, props, error