[libvirt] [PATCH 04/13] qemu: Introduce qemuDomainSecretMigrate{Prepare|Destroy}

Jiri Denemark jdenemar at redhat.com
Mon Feb 20 15:49:46 UTC 2017


On Mon, Feb 20, 2017 at 16:43:54 +0100, Jiri Denemark wrote:
> On Fri, Feb 17, 2017 at 14:39:21 -0500, John Ferlan wrote:
> > Introduce API's to Prepare/Destroy a qemuDomainSecretInfoPtr to be
> > used with a migrate or nbd TLS object
...
> > +qemuDomainSecretMigratePrepare(virConnectPtr conn,
> > +                               qemuDomainObjPrivatePtr priv,
> > +                               const char *srcAlias,
> > +                               const char *secretUUID)
> > +{
> > +    virSecretLookupTypeDef seclookupdef = {0};
> > +    qemuDomainSecretInfoPtr secinfo = NULL;
> > +
> > +    if (virUUIDParse(secretUUID, seclookupdef.u.uuid) < 0) {
> > +        virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
> > +                       _("malformed %s TLS secret uuid in qemu.conf"),
> 
> [1]

Oops, ignore this part of my reply :-)

Jirka




More information about the libvir-list mailing list