diff options
author | Kevin Wolf <kwolf@redhat.com> | 2020-09-24 17:27:14 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-10-02 15:46:40 +0200 |
commit | 91efbae93887a2b80e2979d8b8a169302cf927d1 (patch) | |
tree | 3f7cb6080f86d1dca547b8b958807110cb3ba0e6 /net/util.c | |
parent | 443127e81b9b83c402dc510910cc6841e1039e37 (diff) | |
download | qemu-91efbae93887a2b80e2979d8b8a169302cf927d1.zip qemu-91efbae93887a2b80e2979d8b8a169302cf927d1.tar.gz qemu-91efbae93887a2b80e2979d8b8a169302cf927d1.tar.bz2 |
iotests: Factor out qemu_tool_pipe_and_status()
We have three almost identical functions that call an external process
and return its output and return code. Refactor them into small wrappers
around a common function.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200924152717.287415-29-kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'net/util.c')
0 files changed, 0 insertions, 0 deletions