Skip to content

python/qemu: follow-up changes for ConsoleSocket

Robert Foley qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2python/qemu: Cleanup changes to ConsoleSocketpython/qemu/console_socket.py python/qemu/machine.py python/qemu/pylintrc+34 -334 replies
2/2python/qemu: Change ConsoleSocket to optionally drain socket.python/qemu/console_socket.py python/qemu/machine.py+54 -402 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAlex Bennée
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] python/qemu: follow-up changes for ConsoleSocket

This patch series introduces a few follow-up changes after the introduction of ConsoleSocket.

The first patch introduces cleanup changes for pylint and flake8.

The second patch allows machine.py to use a single type for the console_socket, a ConsoleSocket.
Since machine.py will use ConsoleSocket for both the draining and non-draining cases, we changed ConsoleSocket to handle the case where it does not drain the socket at all and essentially behaves like a socket.

Robert Foley (2):
python/qemu: Cleanup changes to ConsoleSocket python/qemu: Change ConsoleSocket to optionally drain socket.

 python/qemu/console_socket.py | 133 +++++++++++++++++++---------------
 python/qemu/machine.py        |  14 ++--
 python/qemu/pylintrc          |   2 +-
 3 files changed, 82 insertions(+), 67 deletions(-)
Signature · 1 line
2.17.1