Revision 6e4f984c monitor.c
b/monitor.c | ||
---|---|---|
3971 | 3971 |
if (!cmd) |
3972 | 3972 |
goto out; |
3973 | 3973 |
|
3974 |
qemu_errors_to_mon(mon); |
|
3975 |
|
|
3976 | 3974 |
if (monitor_handler_is_async(cmd)) { |
3977 | 3975 |
user_async_cmd_handler(mon, cmd, qdict); |
3978 | 3976 |
} else if (monitor_handler_ported(cmd)) { |
... | ... | |
3984 | 3982 |
if (monitor_has_error(mon)) |
3985 | 3983 |
monitor_print_error(mon); |
3986 | 3984 |
|
3987 |
qemu_errors_to_previous(); |
|
3988 |
|
|
3989 | 3985 |
out: |
3990 | 3986 |
QDECREF(qdict); |
3991 | 3987 |
} |
... | ... | |
4387 | 4383 |
const char *cmd_name, *info_item; |
4388 | 4384 |
|
4389 | 4385 |
args = NULL; |
4390 |
qemu_errors_to_mon(mon); |
|
4391 | 4386 |
|
4392 | 4387 |
obj = json_parser_parse(tokens, NULL); |
4393 | 4388 |
if (!obj) { |
... | ... | |
4468 | 4463 |
monitor_protocol_emitter(mon, NULL); |
4469 | 4464 |
out: |
4470 | 4465 |
QDECREF(args); |
4471 |
qemu_errors_to_previous(); |
|
4472 | 4466 |
} |
4473 | 4467 |
|
4474 | 4468 |
/** |
Also available in: Unified diff