[libvirt] [PATCH v4 09/10] qemu: Set up the migration TLS objects for source
Jiri Denemark
jdenemar at redhat.com
Fri Mar 24 15:24:10 UTC 2017
On Thu, Mar 23, 2017 at 19:02:10 -0400, John Ferlan wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1300769
>
> If the migration flags indicate this migration will be using TLS,
> then while we have connection in the Begin phase check and setup the
> TLS environment that will be used by virMigrationRun during the Perform
> phase for the source to configure TLS.
>
> Processing adds an "-object tls-creds-x509,endpoint=client,..." and
> possibly an "-object secret,..." to handle the passphrase response.
>
> Then it sets the 'tls-creds' and possibly 'tls-hostname' migration
> parameters.
>
> The qemuMigrateCancel will clean up and reset the environment as it
> was originally found.
>
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
> src/qemu/qemu_migration.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 51 insertions(+)
ACK
Jirka
More information about the libvir-list
mailing list