qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] scripts: Add qom-tree script as modern equivale


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] scripts: Add qom-tree script as modern equivalent of info qtree
Date: Fri, 07 Feb 2014 12:10:29 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Il 07/02/2014 12:00, Andreas Färber ha scritto:
Am 07.02.2014 11:41, schrieb Paolo Bonzini:
Il 05/02/2014 19:08, Andreas Färber ha scritto:
http://wiki.qemu.org/Features/QOM#TODO

Anthony wants buses to go away completely. So that seems a legacy
concept to me even though they do not seem to be gone tomorrow.

The way I read that, buses would be replaced by controller devices.

This is unrelated to showing the devices according to the bus topology
(which still exists in either approach), which is what "info qtree"
device.  I guess if controller devices existed, you'd add interfaces
like BusProvider and BusChildEnumerator, or equivalently some "magic"
properties to do the same, and use that in "info qtree".

Actually my point was that in Anthony's model you get devices on their
controller device simply by looking at link<foo-device> properties on
the foo controller device. No special bus code is required any more!

Kind of... There may still be other links (e.g. to the hotplug handler in Igor's series), and you may still want to organize your dump so that the bus hierarchy is emphasized. You cannot unconditionally "expand" all links, since they can be recursive.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]