On 05/19/2011 08:30 AM, Avi Kivity wrote:
On 05/19/2011 04:26 PM, Jan Kiszka wrote:
On 2011-05-19 15:07, Avi Kivity wrote:
And when introducing hierarchical registration, we will have to go
through all of this once again. Plus the API may have to be changed
again if it does not fulfill all requirements of the hierarchical region
management. And we have no proof that it allows an efficient core
implementation.
This API *is* hierarchical registration. v2 will (hopefully) prove that
it can be done efficiently.
We also need hierarchical dispatch. Priorities are just a weak attempt
to emulate hierarchical dispatch but I don't think there's an
improvement over a single dispatch table.
Hierarchical dispatch is simpler. You just need a simple list at each bus.
I don't see a strong need to tie anything to qdev here FWIW.
Regards,
Anthony Liguori