diff options
| author | Dongdong Zhang <zhangdongdong@eswincomputing.com> | 2022-11-30 09:53:58 +0800 |
|---|---|---|
| committer | John Snow <jsnow@redhat.com> | 2023-01-24 13:37:12 -0500 |
| commit | af76484e54f6c5e20452c2b329378026b8f2c59d (patch) | |
| tree | 27e5cae96236b83ccfdc7d7de007d6d004c1668b /python/qemu/machine | |
| parent | 13356edb87506c148b163b8c7eb0695647d00c2a (diff) | |
| download | focaccia-qemu-af76484e54f6c5e20452c2b329378026b8f2c59d.tar.gz focaccia-qemu-af76484e54f6c5e20452c2b329378026b8f2c59d.zip | |
Fix some typos
Fix some typos in 'python' directory. Signed-off-by: Dongdong Zhang <zhangdongdong@eswincomputing.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20221130015358.6998-2-zhangdongdong@eswincomputing.com [Fixed additional typo spotted by Max Filippov. --js] Reviewed-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/qemu/machine')
| -rw-r--r-- | python/qemu/machine/console_socket.py | 2 | ||||
| -rw-r--r-- | python/qemu/machine/qtest.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/python/qemu/machine/console_socket.py b/python/qemu/machine/console_socket.py index 8c4ff598ad..4e28ba9bb2 100644 --- a/python/qemu/machine/console_socket.py +++ b/python/qemu/machine/console_socket.py @@ -68,7 +68,7 @@ class ConsoleSocket(socket.socket): """Kick off a thread to drain the socket.""" # Configure socket to not block and timeout. # This allows our drain thread to not block - # on recieve and exit smoothly. + # on receive and exit smoothly. socket.socket.setblocking(self, False) socket.socket.settimeout(self, 1) drain_thread = threading.Thread(target=self._drain_fn) diff --git a/python/qemu/machine/qtest.py b/python/qemu/machine/qtest.py index 1a1fc6c9b0..1c46138bd0 100644 --- a/python/qemu/machine/qtest.py +++ b/python/qemu/machine/qtest.py @@ -42,7 +42,7 @@ class QEMUQtestProtocol: :raise socket.error: on socket connection errors .. note:: - No conection is estabalished by __init__(), this is done + No connection is established by __init__(), this is done by the connect() or accept() methods. """ def __init__(self, address: SocketAddrT, |