OSDN Git Service

remove preconfig state
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Oct 2020 08:44:18 +0000 (04:44 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Dec 2020 17:51:48 +0000 (12:51 -0500)
commit164dafd1744c69d268b89015977e19d8a9617fdf
tree7c3f6a9c5dfb766bdd25cfa87f37201095cd674f
parent69e92bd558d71fdbd0c1989391b20edcc700daa9
remove preconfig state

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.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/machine-qmp-cmds.c
include/qapi/qmp/dispatch.h
monitor/hmp.c
monitor/qmp-cmds.c
qapi/qmp-dispatch.c
qapi/run-state.json
softmmu/qdev-monitor.c
softmmu/vl.c
stubs/meson.build
stubs/qmp-command-available.c [new file with mode: 0644]
tests/qtest/qmp-test.c