summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorSascha Silbe2016-09-06 22:05:44 +0200
committerFam Zheng2016-09-08 13:56:34 +0200
commitc977257045fdb90f98b92b9e08daa8ace378650b (patch)
treeebb40f6a6f3caf62d2cd27e511ac6f743c909652 /scripts/switch-timer-api
parentdocker: Add a glib2-2.22 image (diff)
downloadqemu-c977257045fdb90f98b92b9e08daa8ace378650b.tar.gz
qemu-c977257045fdb90f98b92b9e08daa8ace378650b.tar.xz
qemu-c977257045fdb90f98b92b9e08daa8ace378650b.zip
docker.py: don't hang on large docker output
Unlike Popen.communicate(), subprocess.call() doesn't read from the stdout file descriptor. If the child process produces more output than fits into the pipe buffer, it will block indefinitely. If we don't intend to consume the output, just send it straight to /dev/null to avoid this issue. Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.vnet.ibm.com> Message-Id: <1473192351-601-2-git-send-email-silbe@linux.vnet.ibm.com> Signed-off-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions