diff options
| author | Dr. David Alan Gilbert | 2018-06-20 17:39:46 +0200 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2018-06-21 14:18:05 +0200 |
| commit | 8e8581e6b1b77e878520a2334f8e74b1001f1578 (patch) | |
| tree | dc922ea9ca2fd9341113e9c8a6fb16140730ef24 /hmp.c | |
| parent | hmp: Add commands for preconfig (diff) | |
| download | qemu-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.c')
| -rw-r--r-- | hmp.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1068,6 +1068,14 @@ void hmp_system_powerdown(Monitor *mon, const QDict *qdict) qmp_system_powerdown(NULL); } +void hmp_exit_preconfig(Monitor *mon, const QDict *qdict) +{ + Error *err = NULL; + + qmp_exit_preconfig(&err); + hmp_handle_error(mon, &err); +} + void hmp_cpu(Monitor *mon, const QDict *qdict) { int64_t cpu_index; |
