summary refs log tree commit diff stats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/qemu/__init__.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/qemu/__init__.py b/python/qemu/__init__.py
index 585cd2a1a3..fd144c0006 100644
--- a/python/qemu/__init__.py
+++ b/python/qemu/__init__.py
@@ -145,10 +145,9 @@ class QEMUMachine(object):
         return False
 
     # This can be used to add an unused monitor instance.
-    def add_monitor_telnet(self, ip, port):
-        args = 'tcp:%s:%d,server,nowait,telnet' % (ip, port)
+    def add_monitor_null(self):
         self._args.append('-monitor')
-        self._args.append(args)
+        self._args.append('null')
 
     def add_fd(self, fd, fdset, opaque, opts=''):
         """