Fix semaphores fallback code
commita795ef8dcb8cbadffc996c41ff38927a97645234
authorBrad Smith <brad@comstyle.com>
Fri, 28 Dec 2012 06:00:26 +0000 (28 01:00 -0500)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 29 Dec 2012 12:27:36 +0000 (29 12:27 +0000)
tree8b0e9d3368a50e3762d208965f0cf78de01fc33f
parent753d99d38b5877440dde2705e30ca60e2ec62965
Fix semaphores fallback code

As reported in bug 1087114 the semaphores fallback code is broken which
results in QEMU crashing and making QEMU unusable.

This patch is from Paolo.

This needs to be back ported to the 1.3 stable tree as well.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Brad Smith <brad@comstyle.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
qemu-thread-posix.c