mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
qerror.h: Remove QERR defines that are only used once
Just hardcode them in the callers Cc: Luiz Capitulino <lcapitulino@redhat.com> Cc: Markus Armbruster <armbru@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
d73f0beadb
commit
f231b88db1
15 changed files with 37 additions and 91 deletions
2
qmp.c
2
qmp.c
|
@ -166,7 +166,7 @@ void qmp_cont(Error **errp)
|
|||
Error *local_err = NULL;
|
||||
|
||||
if (runstate_needs_reset()) {
|
||||
error_set(errp, QERR_RESET_REQUIRED);
|
||||
error_setg(errp, "Resetting the Virtual Machine is required");
|
||||
return;
|
||||
} else if (runstate_check(RUN_STATE_SUSPENDED)) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue