aboutsummaryrefslogtreecommitdiff
path: root/qemu-coroutine-sleep.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2012-11-20 16:34:17 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2012-11-21 09:40:29 +0100
commit8ba2aae32c40f544def6be7ae82be9bcb781e01d (patch)
tree135f262987e206ef8b2840474913ca42a8d60737 /qemu-coroutine-sleep.c
parent1bc6b705eed02dab9feb0e663219b5623f3d684d (diff)
vdi: don't override libuuid symbols
It's poor symbol hygiene to provide a global symbols that collide with a common library like libuuid. If QEMU links against a shared library that depends on uuid_generate() it can end up calling our stub version of the function. This exact scenario happened with GlusterFS libgfapi.so, which depends on libglusterfs.so's uuid_generate(). Scope the uuid stubs for vdi.c only and avoid affecting other shared objects. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-coroutine-sleep.c')
0 files changed, 0 insertions, 0 deletions