[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/8] qdev/core: bus list
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [PATCH 4/8] qdev/core: bus list |
Date: |
Tue, 30 Jun 2009 18:21:17 +0100 |
User-agent: |
KMail/1.11.4 (Linux/2.6.29-2-amd64; KDE/4.2.4; x86_64; ; ) |
On Tuesday 30 June 2009, Markus Armbruster wrote:
> Paul Brook <address@hidden> 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.
Paul
- [Qemu-devel] [PATCH 0/7] qdev patches, batch #1, Gerd Hoffmann, 2009/06/30
- [Qemu-devel] [PATCH 3/8] qdev: remove DeviceType, Gerd Hoffmann, 2009/06/30
- [Qemu-devel] [PATCH 4/8] qdev/core: bus list, Gerd Hoffmann, 2009/06/30
- Re: [Qemu-devel] [PATCH 4/8] qdev/core: bus list, Paul Brook, 2009/06/30
- Re: [Qemu-devel] [PATCH 4/8] qdev/core: bus list, Markus Armbruster, 2009/06/30
- Re: [Qemu-devel] [PATCH 4/8] qdev/core: bus list,
Paul Brook <=
- Re: [Qemu-devel] [PATCH 4/8] qdev/core: bus list, Markus Armbruster, 2009/06/30
- Re: [Qemu-devel] [PATCH 4/8] qdev/core: bus list, Anthony Liguori, 2009/06/30
- Re: [Qemu-devel] [PATCH 4/8] qdev/core: bus list, Gerd Hoffmann, 2009/06/30
- Re: [Qemu-devel] [PATCH 4/8] qdev/core: bus list, Anthony Liguori, 2009/06/30
- Re: [Qemu-devel] [PATCH 4/8] qdev/core: bus list, Paul Brook, 2009/06/30
- Re: [Qemu-devel] [PATCH 4/8] qdev/core: bus list, Markus Armbruster, 2009/06/30
- Re: [Qemu-devel] [PATCH 4/8] qdev/core: bus list, Paul Brook, 2009/06/30
[Qemu-devel] [PATCH 6/8] qdev/pci: misc fixes., Gerd Hoffmann, 2009/06/30