libvirt/src/qemu
Peter Krempa 8502b4b059 qemuDomainBlockPivot: Handle merging of bitmaps when pivoting an active block-commit
Active layer block commit makes the 'base' image the new top image of
the disk after it finishes. This means that all bitmap operations need
to be handled prior to this happening as we'd lose writes otherwise.

The ideal place is to handle it when pivoting to the new image as only
guest-writes would be happening after this point.

Use qemuBlockBitmapsHandleCommitFinish to calculate the merging
transaction.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2020-03-16 17:33:09 +01:00
..
EVENTHANDLERS.txt
libvirtd_qemu.aug qemu: add virtiofsd_debug to qemu.conf 2020-03-04 12:08:50 +01:00
Makefile.inc.am qemu: add code for handling virtiofsd 2020-03-04 12:08:50 +01:00
MIGRATION.txt
qemu_agent.c qemuDomainGetGuestInfo: Don't try to free a negative number of entries 2020-03-13 08:48:42 +01:00
qemu_agent.h qemu: agent: sync once if qemu has serial port event 2020-03-12 18:07:50 +01:00
qemu_alias.c qemuDomainGetSecretAESAlias: Replace outstanding uses with qemuAliasForSecret 2020-03-16 15:51:44 +01:00
qemu_alias.h qemuDomainGetSecretAESAlias: Replace outstanding uses with qemuAliasForSecret 2020-03-16 15:51:44 +01:00
qemu_backup.c qemu: Tell secdrivers which images are top parent 2020-03-09 14:14:55 +01:00
qemu_backup.h qemu: process: Terminate backup job on VM destroy 2020-01-06 10:15:36 +01:00
qemu_block.c qemu: block: Implement helpers for dealing with bitmaps during block commit 2020-03-16 17:33:08 +01:00
qemu_block.h qemu: block: Implement helpers for dealing with bitmaps during block commit 2020-03-16 17:33:08 +01:00
qemu_blockjob.c qemuBlockJobDiskNewCommit: Propagate 'disabledBitmapsBase' 2020-03-16 17:33:08 +01:00
qemu_blockjob.h qemuBlockJobDiskNewCommit: Propagate 'disabledBitmapsBase' 2020-03-16 17:33:08 +01:00
qemu_capabilities.c qemu: capabilities: Add QEMU_CAPS_BLOCKDEV_REOPEN 2020-03-16 17:33:08 +01:00
qemu_capabilities.h qemu: capabilities: Add QEMU_CAPS_BLOCKDEV_REOPEN 2020-03-16 17:33:08 +01:00
qemu_capspriv.h qemu: capabilities: Add accessor to qemu caps machine types presence 2020-01-27 14:55:03 +01:00
qemu_cgroup.c qemu: pass virDomainObjPtr to qemuExtDevicesSetupCgroup 2020-03-04 12:08:50 +01: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 qemuCheckpointDiscardBitmaps: Use correct field for checkpoint bitmap name 2020-03-16 17:33:08 +01:00
qemu_checkpoint.h qemu: checkpoint: Track and relabel images for bitmap merging 2020-02-04 13:45:32 +01:00
qemu_command.c qemu: Handle hotplug and commandline for secret objects for http cookies 2020-03-16 15:51:44 +01:00
qemu_command.h qemu: check iotune params same for all disk in group 2020-01-29 11:46:51 +01:00
qemu_conf.c qemu: add virtiofsd_debug to qemu.conf 2020-03-04 12:08:50 +01:00
qemu_conf.h qemu: add virtiofsd_debug to qemu.conf 2020-03-04 12:08:50 +01:00
qemu_dbus.c qemu: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:57 +02:00
qemu_dbus.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC instead of VIR_DEFINE_AUTOPTR_FUNC 2019-10-16 12:06:43 +02:00
qemu_domain_address.c conf: qemu: add virtiofs fsdriver type 2020-03-04 12:08:50 +01:00
qemu_domain_address.h qemu_domain_address.c: turn qemuDomainFillDeviceIsolationGroup to void 2020-01-31 15:25:33 +01:00
qemu_domain.c qemu: blockjob: Store list of bitmaps disabled prior to commit 2020-03-16 17:33:08 +01:00
qemu_domain.h qemu: convert DomainLogContext class to use GObject 2020-03-16 17:28:39 +01:00
qemu_driver.c qemuDomainBlockPivot: Handle merging of bitmaps when pivoting an active block-commit 2020-03-16 17:33:09 +01:00
qemu_driver.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_extdevice.c qemu: use the vhost-user schemas to find binary 2020-03-04 12:08:50 +01:00
qemu_extdevice.h qemu: pass virDomainObjPtr to qemuExtDevicesSetupCgroup 2020-03-04 12:08:50 +01:00
qemu_firmware.c util: json: Convert virJSONValueNewObject() to g_new0 2020-03-05 11:31:38 +01:00
qemu_firmware.h src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
qemu_hostdev.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
qemu_hostdev.h qemu_hotplug: Prepare NVMe disks on hotplug 2019-12-17 10:04:44 +01:00
qemu_hotplug.c qemuDomainGetSecretAESAlias: Replace outstanding uses with qemuAliasForSecret 2020-03-16 15:51:44 +01:00
qemu_hotplug.h qemu_hotplug.c: adding qemuDomainGetUnplugTimeout 2019-11-13 15:03:40 -05:00
qemu_interface.c Use g_strerror instead of virStrerror 2020-03-13 17:26:55 +01: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: Don't compare local and remote hostnames on migration 2020-03-05 10:01:32 +01:00
qemu_migration_cookie.h qemuMigrationCookieNBD: Extract embedded struct 2020-01-31 14:28:28 +01:00
qemu_migration_params.c qemuDomainGetSecretAESAlias: Replace outstanding uses with qemuAliasForSecret 2020-03-16 15:51:44 +01: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 src: improve thread naming with human targetted names 2020-03-05 12:23:04 +00: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 handler for blockdev-reopen 2020-03-16 17:33:08 +01:00
qemu_monitor_json.h qemu: monitor: Add handler for blockdev-reopen 2020-03-16 17:33:08 +01: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: use g_autofree instead of VIR_FREE in qemuMonitorTextCreateSnapshot() 2019-12-17 10:49:30 -05:00
qemu_monitor_text.h qemu: Remove qemuMonitorTextSetCPU 2019-06-20 15:59:19 +02:00
qemu_monitor.c qemu: monitor: Add handler for blockdev-reopen 2020-03-16 17:33:08 +01:00
qemu_monitor.h qemu: monitor: Add handler for blockdev-reopen 2020-03-16 17:33:08 +01:00
qemu_process.c qemu: convert DomainLogContext class to use GObject 2020-03-16 17:28:39 +01:00
qemu_process.h qemu: start/stop an event thread for QMP probing 2020-03-11 14:44:47 +00:00
qemu_processpriv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_qapi.c use g_ascii_isalpha instead of c_isalpha from gnulib 2019-12-10 13:49:24 +01:00
qemu_qapi.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_security.c qemu: Tell secdrivers which images are top parent 2020-03-09 14:14:55 +01:00
qemu_security.h qemu: Tell secdrivers which images are top parent 2020-03-09 14:14:55 +01:00
qemu_shim.c qemu_shim: Ignore SIGPIPE 2020-03-05 11:24:51 +01:00
qemu_slirp.c qemu: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
qemu_slirp.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC instead of VIR_DEFINE_AUTOPTR_FUNC 2019-10-16 12:06:43 +02:00
qemu_tpm.c src: convert code to use virPipe APIs 2020-02-04 14:00:44 +00:00
qemu_tpm.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +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 qemu: use the vhost-user schemas to find binary 2020-03-04 12:08:50 +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: add virtiofsd_debug to qemu.conf 2020-03-04 12:08:50 +01:00
test_libvirtd_qemu.aug.in qemu: add virtiofsd_debug to qemu.conf 2020-03-04 12:08:50 +01: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 daemon: set default memlock limit for systemd service 2020-02-26 17:56:49 +01:00