]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix undefined symbol errors when macvtap support is disabled
authorMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 1 Dec 2010 14:43:40 +0000 (15:43 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 1 Dec 2010 16:08:08 +0000 (17:08 +0100)
commit474b1c1487828a17fe9e1025901334d9820ea350
tree03c9a22b727f6cd39aabdbc315c3a96a741fa3b1
parent45147ca37f3d93ea67b02a6c0e435bdf40b4ddc5
Fix undefined symbol errors when macvtap support is disabled

Use macvtap specific functions depending on WITH_MACVTAP.

Use #if instead of #ifdef to check for WITH_MACVTAP, because
WITH_MACVTAP is always defined with value 0 or 1.

Also export virVMOperationType{To|From}String unconditional,
because they are used unconditional in the domain config code.
src/libvirt_macvtap.syms
src/libvirt_private.syms
src/qemu/qemu_driver.c
src/util/macvtap.h