[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC] libxl: support for using 'MmGg' as memory size suffix



On Fri, Oct 11, 2013 at 12:35:56PM +0100, Ian Jackson wrote:
> Wei Liu writes ("[PATCH RFC] libxl: support for using 'MmGg' as memory size 
> suffix"):
> > Modify lexer to special-case memory size string. Introduce
> > xlu_cfg_get_memsize to parse memroy size strings.
> 
> Urgh, this is really quite an ugly special case.
> 
> Perhaps a better approach might be to just permit unquoted strings
> when the string is vaguely like a token, and return the token type

"vaguely" is too vague I'm afraid...

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.