On 12/9/20 3:33 PM, Claudio Fontana wrote: > Hi Philippe, > > On 12/9/20 10:27 AM, Philippe Mathieu-Daudé wrote: >> On 12/8/20 8:48 PM, Claudio Fontana wrote: >>> From: Eduardo Habkost <ehabk...@redhat.com> >>> >>> Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> >>> [claudio: wrapped in CONFIG_TCG] >>> Signed-off-by: Claudio Fontana <cfont...@suse.de> >>> Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com> >>> --- >> ... >>> diff --git a/include/hw/core/tcg-cpu-ops.h b/include/hw/core/tcg-cpu-ops.h >>> index 4475ef0996..109291ac52 100644 >>> --- a/include/hw/core/tcg-cpu-ops.h >>> +++ b/include/hw/core/tcg-cpu-ops.h >>> @@ -10,9 +10,6 @@ >>> #ifndef TCG_CPU_OPS_H >>> #define TCG_CPU_OPS_H >> >> Missing for TranslationBlock: >> >> #include "hw/core/cpu.h" > > > this file though is only included from hw/core/cpu.h itself under CONFIG_TCG..
1/ we never know how it will be included, includes should be self-contained IMO. 2/ my editor isn't that smart and can't figure out the types.