summaryrefslogtreecommitdiffstats
path: root/python/qemu/qmp/qmp_shell.py
diff options
context:
space:
mode:
authorJohn Snow2021-09-23 02:49:30 +0200
committerJohn Snow2021-10-12 18:22:11 +0200
commit514d00df5f44f220d0b97cc71323275067d3e60e (patch)
tree92c31e0578fa5cf69793fb9b5db2870f9233786a /python/qemu/qmp/qmp_shell.py
parentpython/qmp: clear events on get_events() call (diff)
downloadqemu-514d00df5f44f220d0b97cc71323275067d3e60e.tar.gz
qemu-514d00df5f44f220d0b97cc71323275067d3e60e.tar.xz
qemu-514d00df5f44f220d0b97cc71323275067d3e60e.zip
python/qmp: add send_fd_scm directly to QEMUMonitorProtocol
It turns out you can do this directly from Python ... and because of this, you don't need to worry about setting the inheritability of the fds or spawning another process. Doing this is helpful because it allows QEMUMonitorProtocol to keep its file descriptor and socket object as private implementation details. /that/ is helpful in turn because it allows me to write a compatible, alternative implementation. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Hanna Reitz <hreitz@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 20210923004938.3999963-10-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/qemu/qmp/qmp_shell.py')
0 files changed, 0 insertions, 0 deletions