qcow2 image.
We want to be able to enable this option (which is off by default) via
libvirt, so this patch adds this option in libvirt.
v2 fixes the remarks in the previous patchset
Jean-Louis Dupond (2):
Add discard_no_unref option for qcow2 images
Update NEWS with new discard_no_unref option
Signed-off-by: Jean-Louis Dupond
---
NEWS.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index b1cccee4fa..deac80aec2 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -19,6 +19,8 @@ v9.5.0 (unreleased)
* **Improvements**
+ * qemu: Change the discard-no-unref value via
.
This was implemented to avoid fragmentation within the qcow2 image.
Signed-off-by: Jean-Louis Dupond
---
docs/formatdomain.rst | 7
src/conf/domain_conf.c| 8
src/conf/domain_conf.h| 1 +
src/conf
On 8/06/2023 16:36, Peter Krempa wrote:
On Tue, Jun 06, 2023 at 11:54:40 +0200, Jean-Louis Dupond wrote:
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
qcow2 image.
We want to be able to enable this option (which is off by default) via
libvirt, so this patch adds this option in libvirt.
Jean-Louis Dupond (2):
Add discard_no_unref option for qcow2 images
Update NEWS with new discard_no_unref option
NEWS.rst
.
This was implemented to avoid fragmentation within the qcow2 image.
Signed-off-by: Jean-Louis Dupond
---
docs/formatdomain.rst | 6 +++
src/conf/domain_conf.c| 8 +++
src/conf/domain_conf.h| 1 +
src/conf/domain_validate.c
Signed-off-by: Jean-Louis Dupond
---
NEWS.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index b1cccee4fa..deac80aec2 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -19,6 +19,8 @@ v9.5.0 (unreleased)
* **Improvements**
+ * qemu: Change the discard-no-unref value via