diff options
Diffstat (limited to 'QMP/qmp.py')
-rw-r--r-- | QMP/qmp.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -188,3 +188,9 @@ class QEMUMonitorProtocol: def settimeout(self, timeout): self.__sock.settimeout(timeout) + + def get_sock_fd(self): + return self.__sock.fileno() + + def is_scm_available(self): + return self.__sock.family == socket.AF_UNIX |