On 5 February 2013 12:58, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 05/02/2013 12:06, Andreas Färber ha scritto: >> Am 04.02.2013 22:23, schrieb Peter Maydell: >> So where would you like a tegra2.c SoC device/object to live? >> It depends on ARMCPU and is thus fo me a clear candidate for hw/arm/, >> among boards such as ac100.c, kaen.c, ... > > I think we agree that almost all of it would be in hw/i2c/tegra2_i2c.c, > hw/sd/tegra2_sd.c, hw/misc/tegra2_whatever.c. If you need a device just > because you're developing it with QOM composition, then the device could > go in hw/arm/tegra2.c together with the board description. As they say, > the exception that confirms the rule.
We could have a "hw/socks" directory for devices which are pure containers :-) -- PMM