]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
qapi: introduce preconfig runstate
authorIgor Mammedov <imammedo@redhat.com>
Fri, 4 May 2018 08:37:41 +0000 (10:37 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 30 May 2018 16:16:26 +0000 (13:16 -0300)
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>
qapi/run-state.json

index 1c9fff3aefe73bacd552dd38647e55389dd6ed5f..d3c2a9113b8a688776cbed04923257a6b35adbe7 100644 (file)
 # @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: