On 08/22/2010 02:44 PM, Avi Kivity wrote:
No more MI diamond and all devices have DeviceStates.
Coincidentally, it matches more closely how hardware works..
Well, I agree, but I honestly lost the context. How does this relate
to the APIC and cpu hotplug?
I'll take the opportunity to say that we should be using a language
that has first-class (...) support for these concepts instead of
having to divine them from the code.
At the risk of sounding uncool, I think what we really need is a UML
diagram describing the device tree. It's really not that much more
difficult to create a similar mess in C++.
Regards,
Anthony Liguori
Generally speaking, any time we have one device that needs to sit on
multiple busses, we're going to have to model it in this fashion.
We'll just have to address them one by one then. Perhaps if many come
up we can try a generic solution.