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

[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


 


Rackspace

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