qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL v3 00/12] Final changes for 2.4-rc0


From: Daniel P. Berrange
Subject: Re: [Qemu-devel] [PULL v3 00/12] Final changes for 2.4-rc0
Date: Fri, 24 Jul 2015 15:19:52 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Jul 24, 2015 at 04:15:31PM +0200, Paolo Bonzini wrote:
> 
> 
> On 24/07/2015 16:14, Daniel P. Berrange wrote:
> >> > diff --git a/Makefile.objs b/Makefile.objs
> >> > index f094eff..9d988d9 100644
> >> > --- a/Makefile.objs
> >> > +++ b/Makefile.objs
> >> > @@ -2,7 +2,9 @@
> >> >  # Common libraries for tools and emulators
> >> >  stub-obj-y = stubs/
> >> >  util-obj-y = util/ qobject/ qapi/ qapi-types.o qapi-visit.o qapi-event.o
> >> > -util-obj-y += crypto/
> >> > +
> >> > +util-obj-$(call notempty,$(TOOLS)) += crypto/
> >> > +util-obj-$(CONFIG_SOFTMMU) += crypto/
> > I have a feeling that'd cause the test suite to fail to link,
> > because it expects it to be unconditionally present in the
> > libqemuutil.a lib.
> 
> Right...  We need to introduce CONFIG_CRYPTO and use it in
> tests/Makefile too.

Except it was a goal of this work that we do not have such config
parameters leak outside to callers. The intent was that the APIs
are always built-in - we just conditionally disable the internal
implementation, so that code using these APIs does not need to
deal with conditionally disabling itself like this. It is
preferrable to just fix disablement of gnutls IMHO.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|



reply via email to

[Prev in Thread] Current Thread [Next in Thread]