Skip to content

python: backport socket changes from python-qemu-qmp

John Snow qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5python/qmp: allow sockets to be passed to connect()python/qemu/qmp/protocol.py+15 -60 replies
2/5python/qmp/legacy: allow using sockets for connect()python/qemu/qmp/legacy.py+3 -20 replies
3/5python/machine: use connect-based interface for existing socketspython/qemu/machine/machine.py+7 -50 replies
4/5python/qmp/legacy: remove open_with_socket() callspython/qemu/machine/machine.py python/qemu/qmp/legacy.py+16 -200 replies
5/5Revert "python/qmp/protocol: add open_with_socket()"python/qemu/qmp/protocol.py+5 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] python: backport socket changes from python-qemu-qmp

This is a small patchset designed to backport the changes made to the qemu.qmp code to utilize pre-existing sockets. This contains some small changes to machine.py to match the new API. This is necessary to do before dropping qemu.qmp from qemu.git so we can utilize the future 0.0.3 version of qemu.qmp.

(This should also fix the bug where the buffering limit was not being applied properly connections utilizing pre-existing sockets.)

John Snow (5):
python/qmp: allow sockets to be passed to connect() python/qmp/legacy: allow using sockets for connect() python/machine: use connect-based interface for existing sockets python/qmp/legacy: remove open_with_socket() calls Revert "python/qmp/protocol: add open_with_socket()"

 python/qemu/machine/machine.py | 17 +++++++------
 python/qemu/qmp/legacy.py      | 26 +++++++++-----------
 python/qemu/qmp/protocol.py    | 45 +++++++++++++++-------------------
 3 files changed, 41 insertions(+), 47 deletions(-)
Signature · 1 line
2.40.0