libvirt/src/qemu
Peter Krempa 3a340872f8 qemuCheckpointDiscardBitmaps: Refuse to delete checkpoint with NULL bitmap name
When a checkpoint is redefined without providing the domain XML, we
might end up with a definition where the per-disk bitmap name is not
set. Trying to delete such checkpoint would lead to a crash.

Refuse such deletion.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1941600
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2021-03-23 14:06:31 +01:00
..
EVENTHANDLERS.txt
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: Introduce "migrate_tls_force" qemu.conf option 2020-11-24 17:59:26 +01:00
meson.build build: Remove unused 'conflicts' key from virt_daemon_unit 2021-02-10 09:30:41 -07:00
MIGRATION.txt
qemu_agent.c Do not check return value of VIR_REALLOC_N 2021-03-22 12:44:18 +01:00
qemu_agent.h qemu: Drop has_ccw_address from _qemuAgentDiskAddress 2021-01-04 14:53:08 +01:00
qemu_alias.c qemu_alias: introduce qemuDomainGetVhostUserAlias helper 2021-02-03 18:56:33 +01:00
qemu_alias.h qemu_alias: introduce qemuDomainGetVhostUserAlias helper 2021-02-03 18:56:33 +01:00
qemu_backup.c qemu: backup: Restore security label on backup disk store image on VM termination 2021-03-19 16:41:39 +01:00
qemu_backup.h util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
qemu_block.c virJSONValueArrayAppend: Clear pointer when taking ownership of passed value 2021-02-20 13:26:37 +01:00
qemu_block.h qemu: implement vhost-user-blk support 2021-02-03 18:56:34 +01:00
qemu_blockjob.c qemu: blockjob: Use qemuMonitorBitmapRemove for single bitmap removal 2021-02-20 13:21:21 +01: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: Enable detection of QEMU_CAPS_OBJECT_QAPIFIED 2021-03-23 14:06:31 +01:00
qemu_capabilities.h qemu: capabilities: Introduce QEMU_CAPS_OBJECT_QAPIFIED 2021-03-23 14:06:31 +01:00
qemu_capspriv.h qemu: report whether a machine type is deprecated in capabilities 2021-02-03 17:30:52 +00:00
qemu_cgroup.c cgroup: use virCgroupSetCpuShares instead of virCgroupSetupCpuShares 2021-03-04 11:13:28 +01:00
qemu_cgroup.h
qemu_checkpoint.c qemuCheckpointDiscardBitmaps: Refuse to delete checkpoint with NULL bitmap name 2021-03-23 14:06:31 +01:00
qemu_checkpoint.h qemu: rename: support renaming checkpoints directory 2020-11-13 14:49:50 +03:00
qemu_command.c qemu: command: Use JSON for QAPIfied -object directly 2021-03-23 14:06:31 +01:00
qemu_command.h qemu: Do not Use canonical path for system memory 2021-02-11 08:43:14 +01:00
qemu_conf.c Do not check return value of VIR_EXPAND_N 2021-03-22 12:44:18 +01:00
qemu_conf.h qemu: Don't cache NUMA caps 2020-12-07 11:32:40 +01:00
qemu_dbus.c qemu: Convert 'priv->dbusVMStateIds' to a GSList 2021-02-11 17:05:32 +01:00
qemu_dbus.h qemu: Convert 'priv->dbusVMStateIds' to a GSList 2021-02-11 17:05:32 +01:00
qemu_domain_address.c qemu: Release <memory/> device address on failed hotplug 2021-02-08 20:05:08 +01:00
qemu_domain_address.h qemu: Release <memory/> device address on failed hotplug 2021-02-08 20:05:08 +01:00
qemu_domain.c Do not check return value of VIR_RESIZE_N 2021-03-22 12:44:18 +01:00
qemu_domain.h qemu: domain: Store list of temporary bitmaps for migration in status XML 2021-02-20 13:21:21 +01:00
qemu_domainjob.c qemu: Update asyncOwnerAPI when entering async job phase 2021-03-22 12:44:18 +01:00
qemu_domainjob.h qemuProcessReconnect: clear 'oldjob' 2020-09-14 18:10:56 +02:00
qemu_driver.c migration/dirtyrate: Extend dirtyrate statistics for domGetStats 2021-03-18 08:50:25 +01:00
qemu_driver.h
qemu_extdevice.c qemu_tpm: Generate log file path among with storage path 2021-03-02 09:45:49 +01:00
qemu_extdevice.h qemu: pass virDomainObjPtr to qemuExtDevicesSetupCgroup 2020-03-04 12:08:50 +01:00
qemu_firmware.c Do not check return value of VIR_REALLOC_N 2021-03-22 12:44:18 +01:00
qemu_firmware.h
qemu_hostdev.c hostdevmgr: remove unneeded oldStateDir 2021-02-02 00:27:58 -05:00
qemu_hostdev.h
qemu_hotplug.c Do not check return value of VIR_REALLOC_N 2021-03-22 12:44:18 +01:00
qemu_hotplug.h src: add G_GNUC_NO_INLINE annotations for mocked symbols 2020-08-04 17:58:08 +01:00
qemu_interface.c qemu: remove redundant code that adds "template" netdev name 2020-12-16 21:31:57 -05:00
qemu_interface.h qemu: honour fatal errors dealing with qemu slirp helper 2020-10-27 12:03:19 +00:00
qemu_interop_config.c qemuInteropFetchConfigs: Don't use 'virStringListAdd' to construct list 2021-02-11 17:05:32 +01:00
qemu_interop_config.h
qemu_migration_cookie.c virJSONValueArrayAppend: Clear pointer when taking ownership of passed value 2021-02-20 13:26:37 +01:00
qemu_migration_cookie.h qemu: migration_cookie: Add helpers for transforming the cookie into migration params 2021-02-20 13:21:21 +01:00
qemu_migration_params.c virJSONValueArrayAppend: Clear pointer when taking ownership of passed value 2021-02-20 13:26:37 +01:00
qemu_migration_params.h qemu: migration_params: Add infrastructure for 'dirty-bitmaps' migration feature 2021-02-20 13:21:21 +01:00
qemu_migration_paramspriv.h
qemu_migration.c qemu: Use g_autofree in qemuMigrationJobCheckStatus 2021-03-22 12:44:18 +01:00
qemu_migration.h qemu: Allow NBD migration over UNIX socket 2020-09-04 10:20:49 +02:00
qemu_monitor_json.c Do not check return value of VIR_REALLOC_N 2021-03-22 12:44:18 +01:00
qemu_monitor_json.h migration/dirtyrate: Implement qemuMonitorQueryDirtyRate 2021-03-18 08:50:25 +01:00
qemu_monitor_priv.h
qemu_monitor_text.c qemu_monitor_text.c: Use g_autofree 2020-03-24 14:52:45 +01:00
qemu_monitor_text.h
qemu_monitor.c qemu: monitor: Don't add 'props' wrapper if qemu has QEMU_CAPS_OBJECT_QAPIFIED 2021-03-23 14:06:31 +01:00
qemu_monitor.h qemuMonitorCreateObjectPropsWrap: Open-code in qemuBuildMemoryBackendProps 2021-03-23 14:06:31 +01:00
qemu_namespace.c lib: Replace virFileMakePath() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
qemu_namespace.h qemuDomainBuildNamespace: Populate basic /dev from daemon's namespace 2020-08-03 19:40:36 +02:00
qemu_process.c Do not check return value of VIR_REALLOC_N 2021-03-22 12:44:18 +01:00
qemu_process.h qemu: Prepare hostdev data which depends on the host state separately 2020-10-20 15:08:22 +02:00
qemu_processpriv.h
qemu_qapi.c virQEMUQAPISchemaTraverse: Fix quoting in comment 2021-03-23 14:06:31 +01:00
qemu_qapi.h util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
qemu_saveimage.c qemu: saveimage: only steal domXML on success 2021-02-18 17:14:47 +01:00
qemu_saveimage.h qemu: Split of code related to handling of the save image file 2020-08-24 16:42:00 +02:00
qemu_security.c qemu: Separate out namespace handling code 2020-08-03 19:32:27 +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: Don't hang if failed to start domain 2021-03-12 17:05:52 +01:00
qemu_slirp.c qemu: Convert 'priv->dbusVMStateIds' to a GSList 2021-02-11 17:05:32 +01:00
qemu_slirp.h slirp: add helper to VM cgroup 2020-04-22 09:58:10 +02:00
qemu_snapshot.c qemuSnapshotFSFreeze: Don't return -2 2021-02-16 12:25:30 +01:00
qemu_snapshot.h qemu: snapshot: Introduce helpers for creating overlays on <transient/> disks 2020-10-01 09:55:02 +02:00
qemu_tpm.c virCommandSetSendBuffer: Provide saner semantics 2021-03-05 15:33:34 +01:00
qemu_tpm.h
qemu_validate.c qemu: wire up support for backend specific audio settings 2021-03-09 22:58:53 +00:00
qemu_validate.h virDomainDefValidate: Add per-run 'opaque' data 2020-12-09 09:33:47 +01:00
qemu_vhost_user_gpu.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
qemu_vhost_user_gpu.h
qemu_vhost_user.c Replace virStringListLength by g_strv_length 2021-02-11 17:05:34 +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: Introduce "migrate_tls_force" qemu.conf option 2020-11-24 17:59:26 +01:00
test_libvirtd_qemu.aug.in qemu: conf: Introduce "migrate_tls_force" qemu.conf option 2020-11-24 17:59:26 +01:00
THREADS.txt
virtqemud.init.in
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