qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v4 3/7] ccid: build smartcard as module


From: Gerd Hoffmann
Subject: Re: [PATCH v4 3/7] ccid: build smartcard as module
Date: Tue, 30 Jun 2020 18:07:51 +0200

> >>   static const TypeInfo qcrypto_tls_creds_x509_info = {
> >>       .parent = TYPE_QCRYPTO_TLS_CREDS,
> >>       .name = TYPE_QCRYPTO_TLS_CREDS_X509,
> >>       .module_name = "gnu-tls",
> >>       ...
> >>   }
> > 
> > Not as-is.  You'll need module load hooks in more places then and some
> > code tweaks to move it from qdev level (loading hw-* module only) to qom
> > level.

[ note: v5 of the series does this ]

> > But, yes, moving the infrastructure to some qom-module.c file might be
> > useful when modularizing non-device objects.  Do you have any candidates
> > in mind?
> 
> So far I was only thinking of gnutls.

Looks challenging on a quick glance ...

take care,
  Gerd




reply via email to

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