libvirt/src/qemu
John Ferlan 1a6b6d9a56 qemu: Set up the migration TLS objects for target
If the migration flags indicate this migration will be using TLS,
then set up the destination during the prepare phase once the target
domain has been started to add the TLS objects to perform the migration.

This will create at least an "-object tls-creds-x509,endpoint=server,..."
for TLS credentials and potentially an "-object secret,..." to handle the
passphrase response to access the TLS credentials. The alias/id used for
the TLS objects will contain "libvirt_migrate".

Once the objects are created, the code will set the "tls-creds" and
"tls-hostname" migration parameters to signify usage of TLS.

During the Finish phase we'll be sure to attempt to clear the
migration parameters and delete those objects (whether or not they
were created). We'll also perform the same reset during recovery
if we've reached FINISH3.

If the migration isn't using TLS, then be sure to check if the
migration parameters exist and clear them if so.
2017-03-25 08:19:49 -04:00
..
EVENTHANDLERS.txt
libvirtd_qemu.aug conf: Introduce migrate_tls_x509_cert_dir 2017-03-25 08:19:49 -04:00
MIGRATION.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_agent.c qemu: agent: take monitor lock in qemuAgentNotifyEvent 2016-12-12 17:14:11 -05:00
qemu_agent.h
qemu_alias.c qemu: Implement NVDIMM 2017-03-15 14:16:32 +01:00
qemu_alias.h qemu: Rename qemuAliasTLSObjFromChardevAlias 2017-02-22 06:31:40 -05:00
qemu_blockjob.c qemu_blockjob: Avoid dereferencing NULL on OOM 2017-02-09 11:48:10 +01:00
qemu_blockjob.h
qemu_capabilities.c qemu: Fix typo in __QEMU_CAPSPRIV_H_ALLOW__ 2017-03-23 10:24:34 +01:00
qemu_capabilities.h qemu: skip QMP probing of CPU definitions when missing 2017-03-17 10:51:49 +01:00
qemu_capspriv.h qemu: Fix typo in __QEMU_CAPSPRIV_H_ALLOW__ 2017-03-23 10:24:34 +01:00
qemu_cgroup.c qemu: Allow nvdimm in devices CGroups 2017-03-15 16:55:30 +01:00
qemu_cgroup.h qemu: Allow nvdimm in devices CGroups 2017-03-15 16:55:30 +01:00
qemu_command.c qemu: command: Don't allow setting 'group_name' alone 2017-03-17 11:12:33 +01:00
qemu_command.h qemuBuildMemoryBackendStr: Reorder args and update comment 2017-03-15 10:49:19 +01:00
qemu_conf.c conf: Introduce migrate_tls_x509_cert_dir 2017-03-25 08:19:49 -04:00
qemu_conf.h conf: Introduce migrate_tls_x509_cert_dir 2017-03-25 08:19:49 -04:00
qemu_domain_address.c qemu: Use generic PCIe Root Ports by default when available 2017-03-17 10:06:11 +01:00
qemu_domain_address.h qemu: propagate virQEMUDriver object to qemuDomainDeviceCalculatePCIConnectFlags 2016-11-30 15:28:07 -05:00
qemu_domain.c qemu: Set up the migration TLS objects for target 2017-03-25 08:19:49 -04:00
qemu_domain.h qemu: Set up the migration TLS objects for target 2017-03-25 08:19:49 -04:00
qemu_driver.c qemu: Add TLS params to _qemuMonitorMigrationParams 2017-03-25 08:19:49 -04:00
qemu_driver.h
qemu_hostdev.c qemu: Add vhost-scsi string for -device parameter 2016-11-24 12:16:19 -05:00
qemu_hostdev.h qemu: Add vhost-scsi string for -device parameter 2016-11-24 12:16:19 -05:00
qemu_hotplug.c qemu: Add job for qemuDomain{Add|Del}TLSObjects 2017-03-25 08:19:49 -04:00
qemu_hotplug.h qemu: Add job for qemuDomain{Add|Del}TLSObjects 2017-03-25 08:19:49 -04:00
qemu_hotplugpriv.h
qemu_interface.c qemu: propagate bridge MTU into qemu "host_mtu" option 2017-02-07 14:02:19 -05:00
qemu_interface.h qemu: propagate bridge MTU into qemu "host_mtu" option 2017-02-07 14:02:19 -05:00
qemu_migration.c qemu: Set up the migration TLS objects for target 2017-03-25 08:19:49 -04:00
qemu_migration.h qemu: Set up the migration TLS objects for target 2017-03-25 08:19:49 -04:00
qemu_monitor_json.c qemu: Add TLS params to _qemuMonitorMigrationParams 2017-03-25 08:19:49 -04:00
qemu_monitor_json.h qemu: Ask QEMU for filtered CPU features 2017-03-17 11:50:48 +01:00
qemu_monitor_text.c qemu: catch failure of drive_add 2017-01-19 10:56:53 +00:00
qemu_monitor_text.h
qemu_monitor.c qemu: Add TLS params to _qemuMonitorMigrationParams 2017-03-25 08:19:49 -04:00
qemu_monitor.h qemu: Add TLS params to _qemuMonitorMigrationParams 2017-03-25 08:19:49 -04:00
qemu_parse_command.c doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_parse_command.h
qemu_process.c qemu: Set up the migration TLS objects for target 2017-03-25 08:19:49 -04:00
qemu_process.h
qemu_processpriv.h
qemu_security.c qemu_hotplug: Relabel memdev 2017-03-15 16:55:23 +01:00
qemu_security.h qemu_hotplug: Relabel memdev 2017-03-15 16:55:23 +01:00
qemu.conf qemu: Update the TLS client verify descriptions for vnc and chardev 2017-03-25 08:19:49 -04:00
test_libvirtd_qemu.aug.in conf: Introduce migrate_tls_x509_cert_dir 2017-03-25 08:19:49 -04:00
THREADS.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00