aboutsummaryrefslogtreecommitdiff
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 585cd2a..fd144c0 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=''):
"""