libvirt/src/qemu
Jean-Louis Dupond b855f8ea1e Add discard_no_unref option for qcow2 images
Qemu 8.1.0 will add discard_no_unref option for qcow2 images.
When this option is enabled (default=false), then it will no longer
unreference clusters when guest does a discard, but it will just free
the blocks (useful for incremental backups for example) and pass the
discard to the lower layer.

This was implemented to avoid fragmentation within the qcow2 image.

Signed-off-by: Jean-Louis Dupond <jean-louis@dupond.be>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2023-06-26 13:06:00 +02:00
..
libvirt_qemu_probes.d
libvirtd_qemu.aug qemu_conf: Introduce a knob to set SCHED_CORE 2022-10-20 08:58:10 +02:00
meson.build qemu: hook up passt config to qemu domains 2023-01-10 01:19:25 -05:00
postcopy-migration.sysctl qemu: Ignore missing vm.unprivileged_userfaultfd sysctl 2022-02-09 13:03:33 +01:00
qemu_agent.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_agent.h qemu_agent: Drop @singleSync from _qemuAgent 2022-11-08 12:10:50 +01:00
qemu_alias.c qemuAssignDeviceChrAlias: Fix a crasher during <console/> hotplug 2023-04-18 16:02:35 +02:00
qemu_alias.h qemu: add support for multiple secret aliases 2023-03-16 15:19:35 +01:00
qemu_backup.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_backup.h qemu: remove unused driver and all its propagations 2022-08-10 16:50:07 +02:00
qemu_block.c Add discard_no_unref option for qcow2 images 2023-06-26 13:06:00 +02:00
qemu_block.h qemu: add multi-secret support in qemuBlockStorageSourceAttachData 2023-03-16 15:19:36 +01:00
qemu_blockjob.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_blockjob.h qemu: blockjob: Handle 'pending' blockjob state only when we need it 2023-02-13 14:20:01 +01:00
qemu_capabilities.c qemu: capabilities: Introduce QEMU_CAPS_QCOW2_DISCARD_NO_UNREF 2023-06-26 13:00:54 +02:00
qemu_capabilities.h qemu: capabilities: Introduce QEMU_CAPS_QCOW2_DISCARD_NO_UNREF 2023-06-26 13:00:54 +02:00
qemu_capspriv.h qemu: capabilities: Fix testing of 'TCG' capabilities probing 2023-04-03 09:19:06 +02:00
qemu_cgroup.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_cgroup.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_checkpoint.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_checkpoint.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_command.c qemu_command: Always use modern syntax of '-m' 2023-06-26 12:58:23 +02:00
qemu_command.h qemuDiskConfigBlkdeviotuneEnabled: Make 'disk' argument const 2023-06-05 13:20:13 +02:00
qemu_conf.c meson: Stop looking for dbus-daemon 2023-05-11 15:04:54 +02:00
qemu_conf.h qemu: add passtStateDir to qemu driver config 2023-01-09 14:24:27 -05:00
qemu_dbus.c qemu: Find dbus-daemon at runtime 2023-05-11 15:04:50 +02:00
qemu_dbus.h
qemu_domain_address.c Move default Input bus logic to PostParse handling 2023-04-24 15:23:50 +02:00
qemu_domain_address.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_domain.c Add discard_no_unref option for qcow2 images 2023-06-26 13:06:00 +02:00
qemu_domain.h qemu: Start emulator thread with more generous cpuset.mems 2023-05-23 17:21:16 +02:00
qemu_domainjob.c util: virtypedparam: Remove return values from virTypedParamListAdd* APIs 2023-05-02 14:32:46 +02:00
qemu_domainjob.h qemu & conf: move BeginNestedJob & BeginJobNowait into src/conf 2022-09-07 12:15:28 +02:00
qemu_driver.c Add discard_no_unref option for qcow2 images 2023-06-26 13:06:00 +02:00
qemu_driver.h
qemu_extdevice.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_extdevice.h qemu_extdevice: Expose qemuExtDevicesInitPaths() 2022-12-05 14:25:15 +01:00
qemu_fd.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_fd.h qemu: fd: Add helpers allowing storing FD set data in status XML 2023-02-01 09:17:41 +01:00
qemu_firmware.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_firmware.h qemu: Move firmware selection from startup to postparse 2023-03-03 13:49:56 +01:00
qemu_hostdev.c qemu: Stop virQEMUCaps propagation into qemuHostdevPreparePCIDevices() 2023-04-25 12:36:31 +02:00
qemu_hostdev.h qemu: Stop virQEMUCaps propagation into qemuHostdevPreparePCIDevices() 2023-04-25 12:36:31 +02:00
qemu_hotplug.c qemu: Don't try to 'fix up' cpuset.mems after QEMU's memory allocation 2023-06-08 09:39:20 +02:00
qemu_hotplug.h qemu_hotplug.h: Expose less functions 2023-04-25 08:46:27 +02:00
qemu_interface.c qemu: Find helpers at runtime 2023-05-10 18:54:09 +02:00
qemu_interface.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
qemu_interop_config.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_interop_config.h
qemu_migration_cookie.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_migration_cookie.h qemu: Reindent qemuMigrationCookieParse prototype arguments 2022-12-01 11:01:58 +01:00
qemu_migration_params.c qemu: support set parallel migration compression method 2023-05-18 15:47:30 +02:00
qemu_migration_params.h qemu: support set parallel migration compression method 2023-05-18 15:47:30 +02:00
qemu_migration_paramspriv.h qemu_migration: Apply max-postcopy-bandwidth on post-copy resume 2022-07-01 11:28:34 +02:00
qemu_migration.c qemu/qemu_migration: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_migration.h qemu: support set parallel migration compression method 2023-05-18 15:47:30 +02:00
qemu_monitor_json.c qemuMonitorSetBlockIoThrottle: Drop 'diskalias' argument 2023-06-05 13:20:13 +02:00
qemu_monitor_json.h qemuMonitorSetBlockIoThrottle: Drop 'diskalias' argument 2023-06-05 13:20:13 +02:00
qemu_monitor_priv.h qemu: monitor: Store whether 'query-named-block-nodes' supports 'flat' parameter 2022-11-09 14:08:31 +01:00
qemu_monitor_text.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_monitor_text.h qemu: monitor: Remove unused qemuMonitorAddDrive/qemuMonitorDriveDel 2022-08-11 15:23:21 +02:00
qemu_monitor.c qemuMonitorSetBlockIoThrottle: Drop 'diskalias' argument 2023-06-05 13:20:13 +02:00
qemu_monitor.h qemuMonitorSetBlockIoThrottle: Drop 'diskalias' argument 2023-06-05 13:20:13 +02:00
qemu_namespace.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_namespace.h qemu_namespace: Introduce qemuDomainNamespaceSetupPath() 2022-09-23 16:33:09 +02:00
qemu_passt.c qemu_passt: Format portForward device even without address 2023-06-01 14:25:08 +02:00
qemu_passt.h qemu: hook up passt config to qemu domains 2023-01-10 01:19:25 -05:00
qemu_process.c qemu: Drop @unionMems argument from qemuProcessSetupPid() 2023-06-08 09:39:20 +02:00
qemu_process.h qemu: Don't try to 'fix up' cpuset.mems after QEMU's memory allocation 2023-06-08 09:39:20 +02:00
qemu_processpriv.h qemu: Do not pass unused opaque pointer to monitor callbacks 2022-05-24 16:26:04 +02:00
qemu_qapi.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_qapi.h
qemu_saveimage.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_saveimage.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_security.c security: make it possible to set SELinux label of child process from its binary 2023-03-10 14:09:29 -05:00
qemu_security.h security: make it possible to set SELinux label of child process from its binary 2023-03-10 14:09:29 -05:00
qemu_shim.c qemu_shim: Require absolute path for root directory 2023-03-22 15:53:33 +01:00
qemu_slirp.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_slirp.h qemu: slirp: Remove unused 'qemuSlirpGetFD' 2022-05-16 09:15:46 +02:00
qemu_snapshot.c qemu: snapshot: Allow inactive internal snapshots with uefi 2023-04-11 10:09:05 +02:00
qemu_snapshot.h qemu_snapshot: move snapshot discard out of qemu_domain.c 2023-01-09 13:32:55 +01:00
qemu_tpm.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_tpm.h qemu: tpm: Never remove state on outgoing migration and shared storage 2022-11-09 12:26:42 +01:00
qemu_validate.c Add discard_no_unref option for qcow2 images 2023-06-26 13:06:00 +02:00
qemu_validate.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_vhost_user_gpu.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_vhost_user_gpu.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_vhost_user.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_vhost_user.h qemu: Remove unused includes 2022-06-16 06:43:57 +02:00
qemu_virtiofs.c qemu: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
qemu_virtiofs.h
qemu.conf.in qemu: Update documentation for dbus_daemon qemu.conf key 2023-05-11 15:04:56 +02:00
test_libvirtd_qemu.aug.in qemu: Update documentation for dbus_daemon qemu.conf key 2023-05-11 15:04:56 +02:00
virtqemud.init.in
virtqemud.service.in meson: Use initconfdir 2023-05-05 15:08:25 +02:00