WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Default memory unit

Keir Fraser wrote:
On 19 Aug 2005, at 01:13, Siddha, Suresh B wrote:

If Kbytes is to be the default unit, then that default should probably be encoded in 'parse_size_and_unit', rather than having
code like the above convert from bytes to Kbytes in many places.

For "mem=" option, default unit is bytes. I think we should go with the
linux style and make the default unit as bytes. If no one has any objections, then I can send a patch for it.

Changing it will annoy people who are used to 2.0-style dom0_mem= parameter. There is no good reason to change it: it's documented and, if you want to avoid confusion, just stick a unit symbol on the end.

I disagree that there's no good reason to make the default unit consistent.
Currently Xen has a relatively small user community, so the time to change
it while annoying the fewest people is now.

--
David Hopwood <david.nospam.hopwood@xxxxxxxxxxxxxxxx>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel