Re: [Qemu-devel] [PATCH v4 18/29] Include hw/hw.h exactly where needed

2019-08-12 Thread Philippe Mathieu-Daudé
On 8/12/19 7:23 AM, Markus Armbruster wrote: > In my "build everything" tree, changing hw/hw.h triggers a recompile > of some 2600 out of 6600 objects (not counting tests and objects that > don't depend on qemu/osdep.h). > > The previous commits have left only the declaration of hw_error() in > hw

[Qemu-devel] [PATCH v4 18/29] Include hw/hw.h exactly where needed

2019-08-11 Thread Markus Armbruster
In my "build everything" tree, changing hw/hw.h triggers a recompile of some 2600 out of 6600 objects (not counting tests and objects that don't depend on qemu/osdep.h). The previous commits have left only the declaration of hw_error() in hw/hw.h. This permits dropping most of its inclusions. To