On Wed, Jan 16, 2013 at 10:54:34AM -0700, Eric Blake wrote:
> On 01/16/2013 10:42 AM, Eduardo Habkost wrote:
> > 
> > Or, we could simply change the meaning of "nodeid=010" and document it
> > in the commit message and QEMU ChageLog. Which option do the QEMU
> > maintainers prefer?
> 
> I'm not a maintainer, so anyone is free to overrule me; but I'm
> personally fine with just documenting that the semantic change is
> intentional.  It's enough of a corner case that probably no one was
> relying on leading 0 still giving decimal parsing (libvirt certainly
> wasn't relying on it], and the flexibility of allowing hex parsing is
> useful.  But do document it in the commit message; a silent change is
> not fair.

I will add a 'base' parameter to parse_uint*() anyway, as it may be
useful somewhere else. Then keeping the existing behavior will be
trivial, so I will keep it by now.

Later, when changing the code to use QemuOpts, we may decide to change
the behavior (to keep the code simpler) and document the semantic
change.

-- 
Eduardo

Reply via email to