[libvirt] [PATCH] compile: Add a missing function 'pciDeviceListFind' to libvirt_private.syms
Xu He Jie
xuhj at linux.vnet.ibm.com
Tue Oct 18 03:26:37 UTC 2011
于 2011年10月18日 11:12, Wen Congyang 写道:
> At 10/18/2011 10:46 AM, Xu He Jie Write:
>> 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;
> The function is sorted by alphanumeric.
>
>> pciDeviceNetName;
>> pciDeviceReAttachInit;
>> pciDeviceSetManaged;
> Ack with the nit fixed.
>
> Thanks
> Wen Congyang
>
Thanks
Xu He Jie
More information about the libvir-list
mailing list