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 qemu/doc: Fix function name for handling events 2017-06-13 09:43:42 +02:00
libvirtd_qemu.aug Revert "qemu: Expose rx/tx_queue_size in qemu.conf too" 2018-02-12 14:56:29 +00:00
Makefile.inc.am qemu: Export qemuMigrationParams{To,From}JSON for tests 2018-04-17 10:46:23 +02:00
MIGRATION.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_agent.c json: Replace access to virJSONValue->type by virJSONValueGetType 2018-04-03 13:34:33 +02:00
qemu_agent.h qemu: agent: Make setting of vcpus more robust 2016-06-22 09:26:08 +02:00
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: block: Add function to check if storage source allows concurrent access 2017-11-23 18:26:25 +01:00
qemu_blockjob.c qemu: blockjob: Reset disk source index after pivot 2017-12-08 10:13:57 +01:00
qemu_blockjob.h qemu: report drive mirror errors on migration 2017-12-06 12:43:57 +01:00
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: Introduce functions for input device cgroup manipulation 2017-11-24 17:38:51 +01:00
qemu_command.c qemu: deprecate QEMU_CAPS_DRIVE_CACHE_UNSAFE 2018-04-16 20:32:26 +02:00
qemu_command.h Revert "qemu: Expose rx/tx_queue_size in qemu.conf too" 2018-02-12 14:56:29 +00:00
qemu_conf.c conf: stop passing virConnectPtr into virDomainDiskTranslateSourcePool 2018-02-19 11:11:47 +00:00
qemu_conf.h port allocator: make port range constant object 2018-02-22 13:52:45 +01:00
qemu_domain_address.c conf: Add virDomainPCIAddressSet.isPCIeToPCIBridgeSupported 2018-04-06 14:12:19 +02:00
qemu_domain_address.h qemu: Update qemuDomainFindSCSIControllerModel return 2018-01-31 11:32:04 -05:00
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 hostdev: Maintain a driver list of active mediated devices 2017-03-27 15:39:35 +02:00
qemu_hotplug.c qemu: deprecate QEMU_CAPS_VHOST_NET 2018-04-16 15:00:26 +02:00
qemu_hotplug.h qemu: don't pass virConnectPtr around for secrets 2018-02-19 11:11:47 +00:00
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: stop passing virConnectPtr into qemuMonitorStartCPUs 2018-02-19 11:11:46 +00:00
qemu_monitor_text.h qemu: stop passing virConnectPtr into qemuMonitorStartCPUs 2018-02-19 11:11:46 +00:00
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: Move qemuFreeKeywords into qemu_parse_command.c 2017-10-17 18:52:47 -04:00
qemu_process.c qemu: Reset all migration parameters 2018-04-17 10:46:23 +02:00
qemu_process.h qemu: remove virConnectPtr from some more startup code paths 2018-02-19 11:11:47 +00:00
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: fix security labeling for attach/detach of char devices 2017-12-05 13:54:48 +01:00
qemu_security.h qemu: fix security labeling for attach/detach of char devices 2017-12-05 13:54:48 +01:00
qemu.conf Replace QEmu with QEMU 2018-04-01 17:42:29 +02:00
test_libvirtd_qemu.aug.in Revert "qemu: Expose rx/tx_queue_size in qemu.conf too" 2018-02-12 14:56:29 +00:00
THREADS.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00