libvirt/src/qemu
Jiri Denemark 9d7321bde9 qemu: Check remote caps when enabling always-on capabilities
When an always-on migration capability is supposed to be enabled on both
sides of migration, each side can only enable the feature if it is
enabled by the other side.

Thus the source host sends a list of supported migration capabilities in
the migration cookie generated in the Begin phase. The destination host
consumes the list in the Prepare phase and decides what capabilities can
be enabled when starting a QEMU process for incoming migration. Once
done the destination sends the list of supported capabilities back to
the source where it is used during the Perform phase to determine what
capabilities can be automatically enabled.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2018-04-17 10:46:23 +02:00
..
EVENTHANDLERS.txt
libvirtd_qemu.aug
Makefile.inc.am qemu: Export qemuMigrationParams{To,From}JSON for tests 2018-04-17 10:46:23 +02:00
MIGRATION.txt
qemu_agent.c json: Replace access to virJSONValue->type by virJSONValueGetType 2018-04-03 13:34:33 +02:00
qemu_agent.h
qemu_alias.c qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemu_alias.h qemu: different declarations for the same method 2018-03-12 11:02:09 +01:00
qemu_block.c util: json: Fix freeing of objects appended to virJSONValue 2018-04-03 13:34:33 +02:00
qemu_block.h
qemu_blockjob.c
qemu_blockjob.h
qemu_capabilities.c qemu: deprecate QEMU_CAPS_DRIVE_CACHE_UNSAFE 2018-04-16 20:32:26 +02:00
qemu_capabilities.h qemu: deprecate QEMU_CAPS_DRIVE_CACHE_UNSAFE 2018-04-16 20:32:26 +02:00
qemu_capspriv.h Force QMP capability probing 2018-04-10 15:16:23 +02:00
qemu_cgroup.c qemu_cgroup: Handle device mapper targets properly 2018-04-05 16:52:55 +02:00
qemu_cgroup.h
qemu_command.c qemu: deprecate QEMU_CAPS_DRIVE_CACHE_UNSAFE 2018-04-16 20:32:26 +02:00
qemu_command.h
qemu_conf.c
qemu_conf.h
qemu_domain_address.c conf: Add virDomainPCIAddressSet.isPCIeToPCIBridgeSupported 2018-04-06 14:12:19 +02:00
qemu_domain_address.h
qemu_domain.c qemu: Drop qemuMigrationParamsCheckTLSCreds 2018-04-17 10:46:23 +02:00
qemu_domain.h qemu: Drop qemuMigrationParamsCheckTLSCreds 2018-04-17 10:46:23 +02:00
qemu_driver.c qemu: Move qemuMonitorMigrationCaps enum 2018-04-17 10:46:23 +02:00
qemu_driver.h
qemu_hostdev.c qemu: hostdev: Fix the error on VM start with an mdev when IOMMU is off 2018-03-19 11:14:40 +01:00
qemu_hostdev.h
qemu_hotplug.c qemu: deprecate QEMU_CAPS_VHOST_NET 2018-04-16 15:00:26 +02:00
qemu_hotplug.h
qemu_hotplugpriv.h
qemu_interface.c qemu: deprecate QEMU_CAPS_VHOST_NET 2018-04-16 15:00:26 +02:00
qemu_interface.h qemu: deprecate QEMU_CAPS_VHOST_NET 2018-04-16 15:00:26 +02:00
qemu_migration_cookie.c qemu: Add support for sending capabilities in migration cookie 2018-04-17 10:46:23 +02:00
qemu_migration_cookie.h qemu: Add support for sending capabilities in migration cookie 2018-04-17 10:46:23 +02:00
qemu_migration_params.c qemu: Check remote caps when enabling always-on capabilities 2018-04-17 10:46:23 +02:00
qemu_migration_params.h qemu: Check remote caps when enabling always-on capabilities 2018-04-17 10:46:23 +02:00
qemu_migration_paramspriv.h qemu: Move migration capabilities JSON formatting 2018-04-17 10:46:23 +02:00
qemu_migration.c qemu: Check remote caps when enabling always-on capabilities 2018-04-17 10:46:23 +02:00
qemu_migration.h qemu: Replace qemuMigrationAnyCompressionDump 2018-04-17 10:46:23 +02:00
qemu_monitor_json.c qemu: Move migration capabilities JSON formatting 2018-04-17 10:46:23 +02:00
qemu_monitor_json.h qemu: Move migration capabilities JSON formatting 2018-04-17 10:46:23 +02:00
qemu_monitor_text.c
qemu_monitor_text.h
qemu_monitor.c qemu: Move qemuMonitorMigrationCaps enum 2018-04-17 10:46:23 +02:00
qemu_monitor.h qemu: Move qemuMonitorMigrationCaps enum 2018-04-17 10:46:23 +02:00
qemu_parse_command.c qemu: Use virDomainChrSourceDefNew for monConfig 2018-04-10 08:11:09 -04:00
qemu_parse_command.h
qemu_process.c qemu: Reset all migration parameters 2018-04-17 10:46:23 +02:00
qemu_process.h
qemu_processpriv.h
qemu_qapi.c qemu: qapi: Return correct entry in virQEMUQAPISchemaTraverse 2018-03-23 14:52:07 +01:00
qemu_qapi.h qemu: monitor: Move processing of QMP schema to the new file 2018-03-23 14:52:07 +01:00
qemu_security.c
qemu_security.h
qemu.conf Replace QEmu with QEMU 2018-04-01 17:42:29 +02:00
test_libvirtd_qemu.aug.in
THREADS.txt