On 4 February 2013 18:59, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 04/02/2013 19:13, Peter Maydell ha scritto: >> I think this is inconsistent. Either we should organise by category, >> or we should organise per-target, but we shouldn't try to do both. >> Otherwise we're just going to wind up with half the $TARGET-specific >> $FOO device models in hw/$TARGET and the other half in hw/$FOO. > > The $FOO device models should all be in hw/$FOO. But there are some > parts that do not fit in a category
Surely this is what hw/misc is for? (Also a hw/machines might be a good idea.) > or are always target-specific, and > hw/$TARGET has them. > > Also, the kernel similarly has arch/$TARGET and drivers/$FOO. Yes, and the ARM kernel maintainers have just spent quite a lot of effort in cleaning things up to kick all the drivers out of arch/$TARGET and into drivers/$FOO where they belong. I'd rather we didn't get into that mess in the first place :-) -- PMM