1 Jul 2009 02:12
Re: [PATCH 4/8] qdev/core: bus list
Markus Armbruster <armbru <at> redhat.com>
2009-07-01 00:12:35 GMT
2009-07-01 00:12:35 GMT
Anthony Liguori <anthony <at> codemonkey.ws> writes: > Markus Armbruster wrote: >> Paul Brook <paul <at> codesourcery.com> writes: >> >> >>> On Tuesday 30 June 2009, Markus Armbruster wrote: >>> >>>> Paul Brook <paul <at> codesourcery.com> writes: >>>> >>>>> On Tuesday 30 June 2009, Gerd Hoffmann wrote: >>>>> >>>>>> * maintain a list of busses. >>>>>> * maintain bus numbers. >>>>>> * add function to find busses by type / name / number. >>>>>> * add monitor command to list busses. >>>>>> >>>>> I still object to this patch. Busses should be identified by their >>>>> location in the tree, not by number. >>>>> >>>>> Paul >>>>> >>>> Location in the tree can be uniquely identified by a number. Handy when >>>> all you want is enumerate the buses, and you don't really care where >>>> they're hanging out in the tree. Why should something like that not be >>>> done? >>>> >>> The address of the BusState is also a locally unique >>> identifier. That doesn't mean it's a good thing to expose to the >>> user.(Continue reading)
RSS Feed