summaryrefslogtreecommitdiff
path: root/QMP/qmp.py
diff options
context:
space:
mode:
Diffstat (limited to 'QMP/qmp.py')
-rw-r--r--QMP/qmp.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/QMP/qmp.py b/QMP/qmp.py
index 5a573e1488..33c7d36d9b 100644
--- a/QMP/qmp.py
+++ b/QMP/qmp.py
@@ -162,3 +162,8 @@ class QEMUMonitorProtocol:
def close(self):
self.__sock.close()
self.__sockfile.close()
+
+ timeout = socket.timeout
+
+ def settimeout(self, timeout):
+ self.__sock.settimeout(timeout)