On Tue, Jul 30, 2019 at 08:15:12AM -0500, Eric Blake wrote: > How hard would it be to compute which typedefs already in > qemu/typedefs.h are necessary to avoid cyclic inclusion?
I don't think it's just about cyclic inclusion. It's also about avoiding dependencies between headers just because of a single typedef, like numa.h including hw/boards.h just because of the CPUArchId typedef. -- Eduardo