summaryrefslogtreecommitdiffstats
path: root/qapi/run-state.json
diff options
context:
space:
mode:
authorPaolo Bonzini2020-10-27 09:44:18 +0100
committerPaolo Bonzini2020-12-15 18:51:48 +0100
commit164dafd1744c69d268b89015977e19d8a9617fdf (patch)
tree7c3f6a9c5dfb766bdd25cfa87f37201095cd674f /qapi/run-state.json
parentMerge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request... (diff)
downloadqemu-164dafd1744c69d268b89015977e19d8a9617fdf.tar.gz
qemu-164dafd1744c69d268b89015977e19d8a9617fdf.tar.xz
qemu-164dafd1744c69d268b89015977e19d8a9617fdf.zip
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>
Diffstat (limited to 'qapi/run-state.json')
-rw-r--r--qapi/run-state.json5
1 files changed, 1 insertions, 4 deletions
diff --git a/qapi/run-state.json b/qapi/run-state.json
index b2f77cbf3f..a47c500f83 100644
--- a/qapi/run-state.json
+++ b/qapi/run-state.json
@@ -50,15 +50,12 @@
# @colo: guest is paused to save/restore VM state under colo checkpoint,
# VM can not get into this state unless colo capability is enabled
# for migration. (since 2.8)
-# @preconfig: QEMU is paused before board specific init callback is executed.
-# The state is reachable only if the --preconfig CLI option is used.
-# (Since 3.0)
##
{ 'enum': 'RunState',
'data': [ 'debug', 'inmigrate', 'internal-error', 'io-error', 'paused',
'postmigrate', 'prelaunch', 'finish-migrate', 'restore-vm',
'running', 'save-vm', 'shutdown', 'suspended', 'watchdog',
- 'guest-panicked', 'colo', 'preconfig' ] }
+ 'guest-panicked', 'colo' ] }
##
# @ShutdownCause: