diff options
Diffstat (limited to 'qmp.c')
-rw-r--r-- | qmp.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -149,8 +149,7 @@ void qmp_cont(Error **errp) { Error *local_err = NULL; - if (runstate_check(RUN_STATE_INTERNAL_ERROR) || - runstate_check(RUN_STATE_SHUTDOWN)) { + if (runstate_needs_reset()) { error_set(errp, QERR_RESET_REQUIRED); return; } else if (runstate_check(RUN_STATE_SUSPENDED)) { |