All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] crypto: move common bits for all emulators to libqemuutil
Date: Tue, 6 Aug 2019 10:41:40 +0100	[thread overview]
Message-ID: <20190806094140.GB14887@redhat.com> (raw)
In-Reply-To: <1565075475-15313-1-git-send-email-pbonzini@redhat.com>

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 <pbonzini@redhat.com>
> ---
>  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	other threads:[~2019-08-06  9:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-06  7:11 [Qemu-devel] [PATCH] crypto: move common bits for all emulators to libqemuutil Paolo Bonzini
2019-08-06  9:41 ` Daniel P. Berrangé [this message]
2019-08-06 13:07   ` Paolo Bonzini
2019-08-06 13:10     ` Daniel P. Berrangé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190806094140.GB14887@redhat.com \
    --to=berrange@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.