mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
monitor: allow to disable the default monitor
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
b2d1674b75
commit
70e098af88
2 changed files with 4 additions and 1 deletions
4
vl.c
4
vl.c
|
@ -3366,8 +3366,10 @@ int main(int argc, char **argv, char **envp)
|
|||
break;
|
||||
}
|
||||
case QEMU_OPTION_monitor:
|
||||
monitor_parse(optarg, "readline");
|
||||
default_monitor = 0;
|
||||
if (strncmp(optarg, "none", 4)) {
|
||||
monitor_parse(optarg, "readline");
|
||||
}
|
||||
break;
|
||||
case QEMU_OPTION_qmp:
|
||||
monitor_parse(optarg, "control");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue