aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/socket_scm_helper.c
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-09-22 20:49:30 -0400
committerJohn Snow <jsnow@redhat.com>2021-10-12 12:22:11 -0400
commit514d00df5f44f220d0b97cc71323275067d3e60e (patch)
tree92c31e0578fa5cf69793fb9b5db2870f9233786a /tests/qemu-iotests/socket_scm_helper.c
parentd911accf0a88070120f7cc71c065fb797484d9b7 (diff)
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 'tests/qemu-iotests/socket_scm_helper.c')
0 files changed, 0 insertions, 0 deletions