On Fri, 27 Nov 2020 12:22:51 +0100 Paolo Bonzini <pbonz...@redhat.com> wrote:
> On 27/11/20 11:31, Igor Mammedov wrote: > >> Yes, calling it around machine initialization time is also a > >> possibility. I just wanted to get rid of it in code that I'm actually > >> looking at.:) > > I'd prefer it being moved close to CLI parsing, > > in a place where other _early call go. > > > > We probably want qemu_init_board() being clear of not really needed clutter. > > > > Fair enough, I'd put -semihosting-config in the same bucket as > -m/-boot/-smp (machine configuration that isn't in -M) so I'll move it > together with them. it might be machine code, but I didn't see anything that depends on machine in there that's why I've suggested to move it right after we parse CLI options (i.e. as early as possible) to keep the rest of code cleaner > > Paolo >