On 02/07/2012 10:41 AM, Andreas Färber wrote:
Am 07.02.2012 16:21, schrieb Paolo Bonzini:
BTW, I would like to change /i440fx to /devices/i440fx, so that we will
have clean namespaces:
/block
...
/chardev
...
/clocks
...
/devices
/peripheral
... # named devices created with -device
/peripheral-anon
/child[...] # unnamed devices created with -device
/default
/child[...] # created with qdev_create
I don't like that, I prefer /i440fx over /devices/i440fx. I don't mind
the other root-level nodes though.
Let's try Paolo's cleanup for now. I am worried about proliferation of things
in the root hierarchy and the nice advantage of having /devices is that we can
work towards making our build infrastructure roughly match our hierarchy.
Since 1.1 is unstable for QOM, we can always change it later.
For PC-style machines I'd expect board-level stuff like the CPUs to
appear directly under /. That would roughly correspond to the
OpenFirmware device tree then.
I think devices trees are a bad example that should not be emulated.
Regards,
Anthony Liguori
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html