monitor: allow quitting while in preconfig state

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2020-10-27 06:56:32 -04:00
parent 0a2949e0be
commit ebe3444468
2 changed files with 3 additions and 1 deletions

View File

@ -45,6 +45,7 @@ ERST
.params = "",
.help = "quit the emulator",
.cmd = hmp_quit,
.flags = "p",
},
SRST

View File

@ -219,7 +219,8 @@
# -> { "execute": "quit" }
# <- { "return": {} }
##
{ 'command': 'quit' }
{ 'command': 'quit',
'allow-preconfig': true }
##
# @MonitorMode: