[libvirt] [PATCH] compile: Add a missing function 'pciDeviceListFind' to libvirt_private.syms

Xu He Jie xuhj at linux.vnet.ibm.com
Tue Oct 18 02:46:38 UTC 2011


compile error:
../src/.libs/libvirt_driver_qemu.a(libvirt_driver_qemu_la-qemu_hostdev.o): In function `qemuPrepareHostdevPCIDevices':
/home/soulxu/data/work-code/libvirt/src/qemu/qemu_hostdev.c:183: undefined reference to `pciDeviceListFind'
/home/soulxu/data/work-code/libvirt/src/qemu/qemu_hostdev.c:230: undefined reference to `pciDeviceListFind'
../src/.libs/libvirt_driver_qemu.a(libvirt_driver_qemu_la-qemu_hostdev.o): In function `qemuGetActivePciHostDeviceList':
/home/soulxu/data/work-code/libvirt/src/qemu/qemu_hostdev.c:102: undefined reference to `pciDeviceListFind'
../src/.libs/libvirt_driver_qemu.a(libvirt_driver_qemu_la-qemu_hostdev.o): In function `qemuDomainReAttachHostdevDevices':
/home/soulxu/data/work-code/libvirt/src/qemu/qemu_hostdev.c:370: undefined reference to `pciDeviceListFind'

Signed-off-by: Xu He Jie <xuhj at linux.vnet.ibm.com>
---
 src/libvirt_private.syms |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 1e03e33..61f4dc4 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -892,6 +892,7 @@ pciDeviceListFree;
 pciDeviceListGet;
 pciDeviceListNew;
 pciDeviceListSteal;
+pciDeviceListFind;
 pciDeviceNetName;
 pciDeviceReAttachInit;
 pciDeviceSetManaged;
-- 
1.7.4.1




More information about the libvir-list mailing list