This series add test case for fd passing with unix socket at runtime. Since getfd and closefd interface will interact with monitor's data, so it will help to do regression test for monitor patches. Since python2 do not support sendmsg(), so a C helper program is added to do the job.
Wenchao Xia (3): 1 qemu-iotests: add unix socket help program 2 qemu-iotests: add infrastructure of fd passing via SCM 3 qemu-iotests: add tests for runtime fd passing via SCM rights QMP/qmp.py | 6 ++ configure | 2 +- tests/Makefile | 4 +- tests/qemu-iotests/045 | 37 ++++++++++- tests/qemu-iotests/045.out | 4 +- tests/qemu-iotests/check | 1 + tests/qemu-iotests/iotests.py | 26 +++++++ tests/qemu-iotests/socket_scm_helper.c | 119 ++++++++++++++++++++++++++++++++ 8 files changed, 194 insertions(+), 5 deletions(-) create mode 100644 tests/qemu-iotests/socket_scm_helper.c