As an idea: recycle the
connect() call for passing in an existing socket instead of adding
open_with_socket() and co-opting the
There's less changes needed overall for this workflow, doesn't add a new top level command to preserve compatibility for, and re-uses all of the existing error checking primitives in
_do_connect(), which saves me the hassle of adding a new
_session_guard() command to
This would be a breaking change, but we haven't actually published a version with
This patchset cannot be ported as-is directly to QEMU without some accompanying changes to machine.py. At the moment, I am syncing changes back to QEMU manually, so I can include that extra patch when I go to do the backport.