aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-12-08 13:11:37 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:41 -0600
commit4e307fc883b39c89ffc093c79eb9c9735724d227 (patch)
tree65de7d10a7bed6570efd7e6b79d4b0654abb3589 /monitor.c
parent1a688d3bbc2a44bfefa3f6774a11b0385dafc029 (diff)
Revert "monitor: Command-line flag to enable control mode"
This reverts commit adcb181afe5a951c521411c7a8e9d9b791aa6742. Conflicts: monitor.h Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/monitor.c b/monitor.c
index a38a103e42..8a1be393aa 100644
--- a/monitor.c
+++ b/monitor.c
@@ -4038,24 +4038,6 @@ static void monitor_event(void *opaque, int event)
* End:
*/
-const char *monitor_cmdline_parse(const char *cmdline, int *flags)
-{
- const char *dev;
-
- if (strstart(cmdline, "control,", &dev)) {
- if (strstart(dev, "vc", NULL)) {
- fprintf(stderr, "qemu: control mode is for low-level interaction ");
- fprintf(stderr, "cannot be used with device 'vc'\n");
- exit(1);
- }
- *flags &= ~MONITOR_USE_READLINE;
- *flags |= MONITOR_USE_CONTROL;
- return dev;
- }
-
- return cmdline;
-}
-
void monitor_init(CharDriverState *chr, int flags)
{
static int is_first_init = 1;