socket_scm_helper: Accept fd directly
authorMax Reitz <mreitz@redhat.com>
Tue, 25 Oct 2016 13:11:39 +0000 (15:11 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 27 Oct 2016 17:05:23 +0000 (19:05 +0200)
commitd35172b425a032d7c9cc2453556d73a54e4ecfa1
tree665f9b8922ae9aa0d97cad4b03d12a4216334261
parent5fcbdf508a9b5962d2e609b95364e1aae8797a4c
socket_scm_helper: Accept fd directly

This gives us more freedom about the fd that is passed to qemu, allowing
us to e.g. pass sockets.

Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/socket_scm_helper.c