]> git.proxmox.com Git - mirror_qemu.git/commit
python/qmp/protocol: add open_with_socket()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 11 Jan 2023 08:00:59 +0000 (12:00 +0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 24 Jan 2023 18:37:13 +0000 (13:37 -0500)
commita3cfea92e2030926e00a2519d299384ea648e36e
treed0fc29eee9ca000120d7b6a1ad4b037c32a7b753
parent166464c6ce82f748e33b24361a72e9d310130fa0
python/qmp/protocol: add open_with_socket()

Instead of listening for incoming connections with a SocketAddr, add a
new method open_with_socket() that accepts an existing socket.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20230111080101.969151-2-marcandre.lureau@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/qmp/protocol.py