aboutsummaryrefslogtreecommitdiff
path: root/qapi/run-state.json
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2018-05-04 10:37:41 +0200
committerEduardo Habkost <ehabkost@redhat.com>2018-05-30 13:16:26 -0300
commit8a36283e120ab3633557d6732fa700366e0137c7 (patch)
tree8781b83c8ccba1bf91cb59b6f9b017fb23cc5acc /qapi/run-state.json
parent3319b4efc295b421fac442746202c9a1da193973 (diff)
downloadqemu-8a36283e120ab3633557d6732fa700366e0137c7.zip
qemu-8a36283e120ab3633557d6732fa700366e0137c7.tar.gz
qemu-8a36283e120ab3633557d6732fa700366e0137c7.tar.bz2
qapi: introduce preconfig runstate
New preconfig runstate will be used in follow up patches related to introducing --preconfig CLI option and is intended to replace prelaunch runstate from QEMU start up to machine_init callback. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <1525423069-61903-4-git-send-email-imammedo@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> [ehabkost: Changed "since 2.13" to "since 3.0"] Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'qapi/run-state.json')
-rw-r--r--qapi/run-state.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/qapi/run-state.json b/qapi/run-state.json
index 1c9fff3..d3c2a91 100644
--- a/qapi/run-state.json
+++ b/qapi/run-state.json
@@ -49,12 +49,15 @@
# @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' ] }
+ 'guest-panicked', 'colo', 'preconfig' ] }
##
# @StatusInfo: