libvirt/src/qemu
Wang Xin 493d2769f2 qemu: add support for shmem-{plain, doorbell} role
Role(master or peer) controls how the domain behaves on migration.
For more details about migration with ivshmem, see
https://git.qemu.org/?p=qemu.git;a=blob_plain;f=docs/system/ivshmem.rst;hb=HEAD

It's a optional attribute in libvirt, and qemu will choose default
role for ivshmem device if the user is not specified.

With device property 'role', the value can be 'master' or 'peer'.
 - 'master' (means 'master=on' in qemu), the guest will copy
   the shared memory on migration to the destination host.
 - 'peer' (means 'master=off' in qemu), the migration is disabled.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Signed-off-by: Yang Hang <yanghang44@huawei.com>
Signed-off-by: Wang Xin <wangxinxin.wang@huawei.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2020-08-03 10:57:47 +02:00
..
EVENTHANDLERS.txt qemu/doc: Fix function name for handling events 2017-06-13 09:43:42 +02:00
libvirt_qemu_probes.d meson: src: build libvirt_driver_qemu_impl.a static library 2020-08-03 09:27:04 +02:00
libvirtd_qemu.aug qemu: conf: Add configuration of TLS environment for NBD transport of pull-backups 2020-07-07 12:58:19 +02:00
meson.build meson: src: add check-aclrules test 2020-08-03 09:27:05 +02:00
MIGRATION.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_agent.c src: fix word spell typos 2020-07-09 10:01:41 +02:00
qemu_agent.h qemuAgentGetFSInfo: expose 'report_unsupported' argument 2020-03-25 13:13:18 +01:00
qemu_alias.c conf, qemu, security, tests: introducing 'def->tpms' array 2020-06-23 17:27:50 +02:00
qemu_alias.h qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_backup.c replace g_new() with g_new0() for consistency 2020-07-20 19:08:07 -04:00
qemu_backup.h qemu: backup: Rewrite backup bitmap handling to the new bitmap semantics 2020-06-22 16:04:30 +02:00
qemu_block.c qemu: block: Remove 'active-write' bitmap even if there are no bitmaps to merge 2020-07-21 09:52:59 +02:00
qemu_block.h qemuBlockStorageSourceAttachData: Add field for ad-hoc storage node name 2020-07-17 07:41:20 +02:00
qemu_blockjob.c qemu: blockjob: Actually delete temporary bitmap on failed active commit 2020-07-21 09:52:59 +02:00
qemu_blockjob.h qemu: blockjob: Remove 'disabledBitmapsBase' field from commit job private data 2020-06-22 16:04:31 +02:00
qemu_capabilities.c qemu_capabilities.c: use g_autoptr() in virQEMUCapsInitQMPSingle() 2020-07-21 15:34:36 +02:00
qemu_capabilities.h qemu: capabilities: Add QEMU_CAPS_BLOCKDEV_HOSTDEV_SCSI 2020-07-17 07:41:20 +02:00
qemu_capspriv.h qemu: don't continue loading caps if outdated 2020-06-23 17:33:30 +01:00
qemu_cgroup.c virDevMapperGetTargets: Don't ignore EBADF 2020-07-25 11:14:39 +02:00
qemu_cgroup.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
qemu_checkpoint.c qemu: checkpoint: Implement VIR_DOMAIN_CHECKPOINT_XML_SIZE 2020-07-07 12:58:19 +02:00
qemu_checkpoint.h qemu: checkpoint: Don't merge checkpoints during deletion 2020-06-22 16:04:30 +02:00
qemu_command.c qemu: add support for shmem-{plain, doorbell} role 2020-08-03 10:57:47 +02:00
qemu_command.h qemuBuildSCSIHostdevDrvStr: unexport 2020-07-17 07:41:21 +02:00
qemu_conf.c src: fix word spell typos 2020-07-09 10:01:41 +02:00
qemu_conf.h qemu: conf: Add configuration of TLS environment for NBD transport of pull-backups 2020-07-07 12:58:19 +02:00
qemu_dbus.c qemu: pre-create the dbus directory in qemuStateInitialize 2020-07-22 09:40:15 +02:00
qemu_dbus.h qemu: pre-create the dbus directory in qemuStateInitialize 2020-07-22 09:40:15 +02:00
qemu_domain_address.c src: fix word spell typos 2020-07-09 10:01:41 +02:00
qemu_domain_address.h qemu_domain_address.c: turn qemuDomainFillDeviceIsolationGroup to void 2020-01-31 15:25:33 +01:00
qemu_domain.c virDevMapperGetTargets: Don't ignore EBADF 2020-07-25 11:14:39 +02:00
qemu_domain.h qemuDomainDiskLookupByNodename: Remove unused 'idx' 2020-07-21 09:52:46 +02:00
qemu_domainjob.c qemu_domainjob: introduce privateData for qemuDomainJob 2020-07-20 15:34:58 +02:00
qemu_domainjob.h qemu_domainjob: introduce privateData for qemuDomainJob 2020-07-20 15:34:58 +02:00
qemu_driver.c qemu: snapshot: Collect 'query-named-block-nodes' prior to memory migration 2020-08-03 07:17:38 +02:00
qemu_driver.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_extdevice.c conf, qemu, security, tests: introducing 'def->tpms' array 2020-06-23 17:27:50 +02:00
qemu_extdevice.h qemu: pass virDomainObjPtr to qemuExtDevicesSetupCgroup 2020-03-04 12:08:50 +01:00
qemu_firmware.c qemu: Remove superfluous breaks 2020-07-21 15:53:15 +02:00
qemu_firmware.h src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
qemu_hostdev.c qemu: Remove superfluous breaks 2020-07-21 15:53:15 +02:00
qemu_hostdev.h qemu_hotplug: Prepare NVMe disks on hotplug 2019-12-17 10:04:44 +01:00
qemu_hotplug.c qemuDomainRemoveHostDevice: Use new infrastructure for (i)SCSI 2020-07-17 07:41:21 +02:00
qemu_hotplug.h qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_interface.c qemu: Drop virQEMUDriverIsPrivileged() 2020-04-07 15:26:15 +02:00
qemu_interface.h qemu-process: prepare slirp-helper 2019-09-06 12:47:47 +02:00
qemu_interop_config.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
qemu_interop_config.h qemu: generalize qemuFetchConfigs 2019-09-24 12:17:10 -04:00
qemu_migration_cookie.c qemu_migration_cookie.c: modernize qemuMigrationEatCookie() 2020-07-13 17:18:07 +02:00
qemu_migration_cookie.h qemu_migration_cookie.h: register AUTOPTR_CLEANUP_FUNC for qemuMigrationCookiePtr 2020-07-13 17:18:01 +02:00
qemu_migration_params.c qemu_domainjob: introduce privateData for qemuDomainJob 2020-07-20 15:34:58 +02:00
qemu_migration_params.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
qemu_migration_paramspriv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_migration.c qemu: add support for shmem-{plain, doorbell} role 2020-08-03 10:57:47 +02:00
qemu_migration.h qemu: Implement VIR_MIGRATE_PARAM_TLS_DESTINATION 2019-12-09 10:11:58 +01:00
qemu_monitor_json.c qemu_monitor: Add API for checking CPU migratable property 2020-07-21 15:40:01 +02:00
qemu_monitor_json.h qemu_monitor: Add API for checking CPU migratable property 2020-07-21 15:40:01 +02:00
qemu_monitor_priv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_monitor_text.c qemu_monitor_text.c: Use g_autofree 2020-03-24 14:52:45 +01:00
qemu_monitor_text.h qemu: Remove qemuMonitorTextSetCPU 2019-06-20 15:59:19 +02:00
qemu_monitor.c qemu_monitor: Add API for checking CPU migratable property 2020-07-21 15:40:01 +02:00
qemu_monitor.h qemu_monitor: Add API for checking CPU migratable property 2020-07-21 15:40:01 +02:00
qemu_process.c qemu: Fix affinity typo 2020-07-22 15:51:26 +02:00
qemu_process.h qemu_process.h: register AUTOPTR_CLEANUP_FUNC for qemuProcessQMPPtr 2020-07-21 15:34:36 +02:00
qemu_processpriv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_qapi.c src: fix word spell typos 2020-07-09 10:01:41 +02:00
qemu_qapi.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_security.c qemu_security: Complete renaming of virSecurityManagerSetAllLabel() argument 2020-07-10 14:21:35 +02:00
qemu_security.h qemu_security: Complete renaming of virSecurityManagerSetAllLabel() argument 2020-07-10 14:21:35 +02:00
qemu_shim.c qemu_shim: Ignore SIGPIPE 2020-03-05 11:24:51 +01:00
qemu_slirp.c slirp: add helper to VM cgroup 2020-04-22 09:58:10 +02:00
qemu_slirp.h slirp: add helper to VM cgroup 2020-04-22 09:58:10 +02:00
qemu_tpm.c conf, qemu, security, tests: introducing 'def->tpms' array 2020-06-23 17:27:50 +02:00
qemu_tpm.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
qemu_validate.c qemu: Set SPAPR TPM default to 2.0 and prevent 1.2 choice 2020-07-15 08:23:28 +02:00
qemu_validate.h qemu: validate: Validate blkdeviotune settings in the validator 2020-05-12 06:54:59 +02:00
qemu_vhost_user_gpu.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
qemu_vhost_user_gpu.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
qemu_vhost_user.c util: json: Convert virJSONValueNewObject() to g_new0 2020-03-05 11:31:38 +01:00
qemu_vhost_user.h qemu: use the vhost-user schemas to find binary 2020-03-04 12:08:50 +01:00
qemu_virtiofs.c qemuVirtioFSStop: Simplify daemon kill 2020-03-24 15:54:31 +01:00
qemu_virtiofs.h qemu: use the vhost-user schemas to find binary 2020-03-04 12:08:50 +01:00
qemu.conf qemu: conf: Add configuration of TLS environment for NBD transport of pull-backups 2020-07-07 12:58:19 +02:00
test_libvirtd_qemu.aug.in qemu: conf: Add configuration of TLS environment for NBD transport of pull-backups 2020-07-07 12:58:19 +02:00
THREADS.txt qemu: remove qemuDomainObjBegin/EndJobWithAgent() 2020-01-16 16:35:47 +01:00
virtqemud.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtqemud.service.in systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00
virtqemud.sysconf qemu: Allow audio driver override in virtqemud 2020-04-03 11:50:57 +02:00