[libvirt] [PATCH] Disable netcf if building without libvirtd

Eric Blake eblake at redhat.com
Wed Jan 11 14:53:23 UTC 2012


On 01/11/2012 07:11 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Although the netcf interface driver can in theory be used by
> the stateless drivers, in practice none of them want to use
> it because they have different ways of dealing with interfaces.
> 
> Furthermore, if you have mingw32-netcf installed, then the
> libvirt mingw32 build will fail with
> 
>   ../../src/interface/netcf_driver.c:644:5: error: unknown field 'close_used_without_including_unistd_h' specified in initializer
> 
>  * configure.ac: disable netcf if built without libvirtd
> ---
>  configure.ac |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)

ACK.

Funny how we both fixed the same compilation problem in netcf_driver.c
by adding a minor change in a completely different file, but I agree
that both fixes are worth applying.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120111/d2a8469f/attachment-0001.sig>


More information about the libvir-list mailing list