| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [v7][PATCH 16/16] tools: parse to enable new rdm policy parameters
 The first issue (which would really be relevant to the documentation patch) is that the documentation is in a separate commit. There are sometimes valid reasons for doing this. I'm not sure if they apply, Wei suggested we should organize/spit all patches according to libxl, libxc, xc and xl. but if they do this should be explained in one of the commit messages. If this was done I'm afraid I have missed it. In this patch head description, maybe I can change something like this This patch parses to enable user configurable parameters to specify RDM resource and according policies which are defined previously, 
 
Are you saying this?
} else if (  -> }else if (
} else { -> }else {
Additionally I don't found which line is over 80 characters.
 
I just refer to xlu_pci_parse_bdf()
        switch(state) {
        case STATE_DOMAIN:
            if ( *ptr == ':' ) {
                state = STATE_BUS;
                *ptr = '\0';
                if ( hex_convert(tok, &dom, 0xffff) )
                    goto parse_error;
                tok = ptr + 1;
            }
            break;
Really I would prefer that this parsing was done with a miniature flex parser, rather than ad-hoc pointer arithmetic and use of strtok. Sorry, could you show this explicitly? Thanks Tiejun _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |