On Fri, Aug 29, 2014 at 12:57 AM, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 28/08/2014 16:27, Peter Crosthwaite ha scritto: >> Yeh, so a solution to that was to patch qom to drop the [*] for >> singletons added via arrayified property adders. One possible semantic >> that I can think of is the 0th element always has a property alias so >> that foo and foo[0] mean the same thing. This tricky part is, when >> "[1]" comes along the preferred name (the canonical path) for the 0th >> element should switch from "foo" to "foo[0]". Is it sane to switch >> child and alias strings for "[0]" when "[1]" comes along? > > You and I both know that the right solution is to move the [*] from > memory.c to the callers... :) >
Hmm that's a lot of changes :( Regards, Peter > Paolo >