On Mon, Mar 12, 2018 at 02:11:11PM +0100, Igor Mammedov wrote: > New option will be used to allow commands, which are prepared/need > to run run in preconfig state. Other commands that should be able > to run in preconfig state, should be ammeded to not expect machine > in initialized state or deal with it. > > For compatibility reasons, commands, that don't use new flag > 'allowed-in-preconfig' explicitly, are not permited to run in > preconfig state but allowed in all other states like they used > to be. > > Within this patch allow following commands in preconfig state: > qmp_capabilities > query-qmp-schema > query-commands > query-status > cont > to allow qmp connection, basic introspection and moving to the next > state. > > PS: > set-numa-node and query-hotpluggable-cpus will be enabled later in > a separate patch. > > Signed-off-by: Igor Mammedov <imamm...@redhat.com>
I didn't review the code yet, but: Shouldn't this be applied before patch 3/9, for bisectability? Otherwise it will be very easy to crash QEMU after applying patch 3/9. -- Eduardo