|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] KVM call agenda for Tuesday 7 |
Date: | Tue, 07 Feb 2012 17:27:28 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 |
On 02/07/2012 05:24 PM, Anthony Liguori wrote:
I'm wary of all plans that require to go through all the code once. What about simply /devices/default/child[...] or something like that?The paths would be unstable, but maybe that's okay. I'd suggest doing child[rand()] to avoid the appearance that these paths are in any way shape or form stable.
Sounds a bit inconvenient for humans (who in the end are those who debug things :)).
BTW, I would like to change /i440fx to /devices/i440fx, so that we will have clean namespaces: /block /chardev /clocks /devicesYeah, this makes sense. By clocks, you mean things like rtc_clock, vm_clock, etc? Not the omap clocks which happen to live in /clocks in your series?
No, I really meant the OMAP clocks. :) Basically if you have an abstract subclass TYPE_FOOS of TYPE_OBJECT, its instances would reside under /foos or something easily related to "foos".
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |