summaryrefslogtreecommitdiffstats
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorDr. David Alan Gilbert2018-06-20 17:39:46 +0200
committerDr. David Alan Gilbert2018-06-21 14:18:05 +0200
commit8e8581e6b1b77e878520a2334f8e74b1001f1578 (patch)
treedc922ea9ca2fd9341113e9c8a6fb16140730ef24 /hmp-commands.hx
parenthmp: Add commands for preconfig (diff)
downloadqemu-8e8581e6b1b77e878520a2334f8e74b1001f1578.tar.gz
qemu-8e8581e6b1b77e878520a2334f8e74b1001f1578.tar.xz
qemu-8e8581e6b1b77e878520a2334f8e74b1001f1578.zip
hmp: add exit_preconfig
Add the exit_preconfig command to return to normality. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20180620153947.30834-7-dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx19
1 files changed, 19 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 4acf6a3222..ba9cdb8800 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -58,6 +58,25 @@ Quit the emulator.
ETEXI
{
+ .name = "exit_preconfig",
+ .args_type = "",
+ .params = "",
+ .help = "exit the preconfig state",
+ .cmd = hmp_exit_preconfig,
+ .flags = "p",
+ },
+
+STEXI
+@item exit_preconfig
+@findex exit_preconfig
+This command makes QEMU exit the preconfig state and proceed with
+VM initialization using configuration data provided on the command line
+and via the QMP monitor during the preconfig state. The command is only
+available during the preconfig state (i.e. when the --preconfig command
+line option was in use).
+ETEXI
+
+ {
.name = "block_resize",
.args_type = "device:B,size:o",
.params = "device size",