qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] crypto: move common bits for all emulators to l


From: Daniel P . Berrangé
Subject: Re: [Qemu-devel] [PATCH] crypto: move common bits for all emulators to libqemuutil
Date: Tue, 6 Aug 2019 10:41:40 +0100
User-agent: Mutt/1.12.0 (2019-05-25)

On Tue, Aug 06, 2019 at 09:11:15AM +0200, Paolo Bonzini wrote:
> qcrypto_random_*, AES and qcrypto_init do not need to be linked as a whole
> and are the only parts that are used by user-mode emulation.  Place them
> in libqemuutil, so that whatever needs them will pick them up automatically.
> 
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
>  MAINTAINERS                         | 3 +++
>  Makefile                            | 4 +---
>  Makefile.objs                       | 1 -
>  Makefile.target                     | 2 --
>  crypto/Makefile.objs                | 7 -------
>  util/Makefile.objs                  | 5 +++++
>  {crypto => util}/aes.c              | 0
>  crypto/init.c => util/crypto-init.c | 0
>  {crypto => util}/random-gcrypt.c    | 0
>  {crypto => util}/random-gnutls.c    | 0
>  {crypto => util}/random-platform.c  | 0

Ewww, definitely do not want to see these files moved as it spreads the
crypto related code over multiple locations again, which is exactly what
I spent time fixing when introducing the crypto/ directory.

Placing them to libqemuutil.a shouldn't mean we need to move the code too.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



reply via email to

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