Re: [PATCH 01/15] remove preconfig state

2020-12-07 Thread Igor Mammedov
On Mon, 7 Dec 2020 15:11:34 +0100 Paolo Bonzini wrote: > Il lun 7 dic 2020, 14:57 Igor Mammedov ha scritto: > > > On Wed, 2 Dec 2020 03:18:40 -0500 > > Paolo Bonzini wrote: > > > > > The preconfig state is only used if -incoming is not specified, which > > > makes the RunState state

Re: [PATCH 01/15] remove preconfig state

2020-12-07 Thread Paolo Bonzini
Il lun 7 dic 2020, 14:57 Igor Mammedov ha scritto: > On Wed, 2 Dec 2020 03:18:40 -0500 > Paolo Bonzini wrote: > > > The preconfig state is only used if -incoming is not specified, which > > makes the RunState state machine more tricky than it need be. However > > there is already an

Re: [PATCH 01/15] remove preconfig state

2020-12-07 Thread Igor Mammedov
On Wed, 2 Dec 2020 03:18:40 -0500 Paolo Bonzini wrote: > The preconfig state is only used if -incoming is not specified, which > makes the RunState state machine more tricky than it need be. However > there is already an equivalent condition which works even with -incoming, > namely

[PATCH 01/15] remove preconfig state

2020-12-02 Thread Paolo Bonzini
The preconfig state is only used if -incoming is not specified, which makes the RunState state machine more tricky than it need be. However there is already an equivalent condition which works even with -incoming, namely qdev_hotplug. Use it instead of a separate runstate. Signed-off-by: Paolo