Re: [PATCH v4 02/14] machine: introduce phase_until() to handle phase transitions

2022-03-18 Thread Damien Hedde
Hi ! It would nice to have some feedback about this solution. Basically it just introduces a new function 'qemu_until' which implement the startup fsm. It's bit like what Markus proposed in december (hence the name), only it is is only internal so we can change it if we find out it should be

[PATCH v4 02/14] machine: introduce phase_until() to handle phase transitions

2022-02-23 Thread Damien Hedde
phase_until() is implemented in vl.c and is meant to be used to make startup progress up to a specified phase being reached(). At this point, no behavior change is introduced: phase_until() only supports a single double transition corresponding to the functionality of qmp_exit_preconfig(): +