summary refs log tree commit diff stats
path: root/storage-daemon/qemu-storage-daemon.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2020-09-24 17:27:14 +0200
committerKevin Wolf <kwolf@redhat.com>2020-10-02 15:46:40 +0200
commit91efbae93887a2b80e2979d8b8a169302cf927d1 (patch)
tree3f7cb6080f86d1dca547b8b958807110cb3ba0e6 /storage-daemon/qemu-storage-daemon.c
parent443127e81b9b83c402dc510910cc6841e1039e37 (diff)
downloadfocaccia-qemu-91efbae93887a2b80e2979d8b8a169302cf927d1.tar.gz
focaccia-qemu-91efbae93887a2b80e2979d8b8a169302cf927d1.zip
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 'storage-daemon/qemu-storage-daemon.c')
0 files changed, 0 insertions, 0 deletions