Skip to contentSkip to conversation

qed: deprecate the block driver

PATCH In review Stefan Hajnoczi 2 participants 2 messages Nov 9

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qed: deprecate the block driver

It has been unofficially deprecated on the wiki for many years:
https://wiki.qemu.org/Features/QED

---
 docs/about/deprecated.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
docs/about/deprecated.rst +13 -0
index 0891bbc44de..ab83626af0b 100644
@@ -526,3 +526,16 @@ If the user requests a modern x86 CPU model (i.e. not one of ``486``,
 ``athlon``, ``kvm32``, ``pentium``, ``pentium2``, ``pentium3``or ``qemu32``)
 a warning will be displayed until a future QEMU version when such CPUs will
 be rejected.
+
+Block drivers
+-------------
+
+QED (since 12.0)
+''''''''''''''''
+
+The QED disk image format is not actively maintained and qcow2 has exceeded its
+features and performance for many years. Since QED was never widely deployed,
+the format is not required for compatibility reasons. It is unlikely that
+qemu-img users still need to convert images to or from QED.
+
+Use qcow2 instead of QED.
Signature · 1 line
2.56.0
#1 lore raw
Quoted 7 lines · Stefan Hajnoczi

It has been unofficially deprecated on the wiki for many years:
https://wiki.qemu.org/Features/QED

---
 docs/about/deprecated.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)

How about bdrv_qed_open also adding

warn_report_once("QED is deprecated, please switch to qcow2");

for the part of the user population who never reads the docs.

Quoted 25 lines
docs/about/deprecated.rst +13 -0
index 0891bbc44de..ab83626af0b 100644
@@ -526,3 +526,16 @@ If the user requests a modern x86 CPU model (i.e. not one of ``486``,
 ``athlon``, ``kvm32``, ``pentium``, ``pentium2``, ``pentium3``or ``qemu32``)
 a warning will be displayed until a future QEMU version when such CPUs will
 be rejected.
+
+Block drivers
+-------------
+
+QED (since 12.0)
+''''''''''''''''
+
+The QED disk image format is not actively maintained and qcow2 has exceeded its
+features and performance for many years. Since QED was never widely deployed,
+the format is not required for compatibility reasons. It is unlikely that
+qemu-img users still need to convert images to or from QED.
+
+Use qcow2 instead of QED.
Signature · 1 line
2.56.0

With regards,
Daniel

Signature · 3 lines
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|