On Tue, Aug 10, 2021 at 02:01:40PM +0200, Juan Quintela wrote: > Eduardo Habkost <ehabk...@redhat.com> wrote: > > Some typedefs and macros are defined after the type check macros. > > This makes it difficult to automatically replace their > > definitions with OBJECT_DECLARE_TYPE. > > > > Patch generated using: > > > > $ ./scripts/codeconverter/converter.py -i --pattern=MoveSymbols \ > > $(git grep -l '' -- '*.[ch]') > > > > which will: > > - split "typdef struct { ... } TypedefName" declarations > > - move the typedefs and #defines above the type check macros > > - add missing #include "qom/object.h" lines if necessary > > > > Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> > > Reviewed-by: Juan Quintela <quint...@redhat.com>
Thanks! > > Just curious, how did my name ended on the CC'd list? I don't see any > file that I touched or that is migration related. include/hw/vmstate-if.h is in the migration section in MAINTAINERS. -- Eduardo