summary refs log tree commit diff stats
path: root/hw/ide/core.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 /hw/ide/core.c
parent1bc6b705eed02dab9feb0e663219b5623f3d684d (diff)
downloadfocaccia-qemu-8ba2aae32c40f544def6be7ae82be9bcb781e01d.tar.gz
focaccia-qemu-8ba2aae32c40f544def6be7ae82be9bcb781e01d.zip
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 'hw/ide/core.c')
0 files changed, 0 insertions, 0 deletions