summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorAvi Kivity2011-12-27 15:02:16 +0100
committerAnthony Liguori2011-12-27 16:28:58 +0100
commit8d3bc5178fbc06cdd89c064ae8f44e77c503e91e (patch)
tree5a636844be70c13422856569e90f9e487141a5c5 /hw
parentMerge remote-tracking branch 'aneesh/for-upstream' into staging (diff)
downloadqemu-8d3bc5178fbc06cdd89c064ae8f44e77c503e91e.tar.gz
qemu-8d3bc5178fbc06cdd89c064ae8f44e77c503e91e.tar.xz
qemu-8d3bc5178fbc06cdd89c064ae8f44e77c503e91e.zip
Fix qapi code generation wrt parallel build
Make's multiple output syntax x.c x.h: x.template gen < x.template actually invokes the command once for x.c and once for x.h (with differing $@ in each invocation). During a parallel build, the two commands may be invoked in parallel; this opens up a race, where the second invocation trashes a file supposedly produced during the first, and now in use by a dependent command. The various qapi code generators are susceptible to this; fix by making them generate just one file per invocation. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions