[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v8 02/25] build: Link user-only with crypto rand
From: |
Daniel P . Berrangé |
Subject: |
Re: [Qemu-devel] [PATCH v8 02/25] build: Link user-only with crypto random number objects |
Date: |
Wed, 22 May 2019 11:56:14 +0100 |
User-agent: |
Mutt/1.11.4 (2019-03-13) |
On Wed, May 22, 2019 at 06:52:45AM -0400, Richard Henderson wrote:
> On 5/21/19 11:04 AM, Daniel P. Berrangé wrote:
> > On Thu, May 16, 2019 at 07:39:01PM -0700, Richard Henderson wrote:
> >> For user-only, we require only the random number bits of the
> >> crypto subsystem. Rename crypto-aes-obj-y to crypto-user-obj-y,
> >> and add the random number objects, plus init.o to handle any
> >> extra stuff the crypto library requires.
> >
> > If you pull in my authz patch first:
> >
> > https://lists.gnu.org/archive/html/qemu-devel/2019-05/msg04863.html
> >
> > then we can just kill crypto-aes-obj-y entirely, and make
> > linux-user reference crypto-obj-y as normal. My patch avoids
> > pulling in PAM, and your previous patch takes care of the
> > static linking problem.
>
> You would think so, wouldn't you. And yet, not.
>
> CC authz/base.o
> /home/rth/qemu/qemu/authz/base.c:23:10: fatal error: trace.h: No such file or
> directory
> #include "trace.h"
> ^~~~~~~~~
> compilation terminated.
>
> We're missing some dependency somewhere, and I have no idea what's missing.
>
> This for
>
> ../qemu/configure --static --disable-system --disable-tools
>
> I have a working configuration here in v8. Can we please leave the bikeshed
> unpainted for the moment and you can adjust the makefiles as you see fit
> afterward?
Yep, ok. I'll be away on holiday for a while so don't have time to look
into it now. So lets get this merged as is & I'll investigate further
when I come back.
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 :|
[Qemu-devel] [PATCH v8 05/25] crypto: Use O_CLOEXEC in qcrypto_random_init, Richard Henderson, 2019/05/16
[Qemu-devel] [PATCH v8 03/25] crypto: Reverse code blocks in random-platform.c, Richard Henderson, 2019/05/16
[Qemu-devel] [PATCH v8 04/25] crypto: Do not fail for EINTR during qcrypto_random_bytes, Richard Henderson, 2019/05/16
[Qemu-devel] [PATCH v8 07/25] crypto: Change the qcrypto_random_bytes buffer type to void*, Richard Henderson, 2019/05/16
[Qemu-devel] [PATCH v8 06/25] crypto: Use getrandom for qcrypto_random_bytes, Richard Henderson, 2019/05/16
[Qemu-devel] [PATCH v8 08/25] ui/vnc: Split out authentication_failed, Richard Henderson, 2019/05/16
[Qemu-devel] [PATCH v8 09/25] ui/vnc: Use gcrypto_random_bytes for start_auth_vnc, Richard Henderson, 2019/05/16