[pve-devel] [PATCH-SERIES v2 qemu-server/storage/guest-common 0/7] slightly improve image format handling

Fiona Ebner f.ebner at proxmox.com
Wed Mar 5 11:49:16 CET 2025


v1: https://lore.proxmox.com/pve-devel/20250207125514.42668-1-f.ebner@proxmox.com/

Changes in v2:
* different approach, use existing format
* introduce standard option
* add patches to drop mythological 'cow' format

Allow using 'vmdk' for the 'format' option when allocating an image
with 'pvesm' or storage API.

Drop the ancient 'cow' format from supported qm image formats that was
dropped in QEMU 2.2.

Introduce a standard option for supported image formats on storages
superseding the existing 'pve-storage-format' format.


Dependency bump guest-common -> storage needed for the new standard
option.


qemu-server:

Fiona Ebner (1):
  drive: remove ancient 'cow' from formats

 PVE/QemuServer/Drive.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


storage:

Fiona Ebner (5):
  plugin: file size info: remove ancient 'cow' from formats
  api: code cleanup: remove unused Data::Dumper include
  schema: anchor regex for 'pve-storage-format'
  api: alloc: allow 'vmdk' for the 'format' option
  introduce 'pve-storage-image-format' standard option for image format

 src/PVE/API2/Storage/Content.pm |  8 +++-----
 src/PVE/Storage/Common.pm       | 27 +++++++++++++++++++++++++++
 src/PVE/Storage/Plugin.pm       | 13 ++++++++-----
 3 files changed, 38 insertions(+), 10 deletions(-)


guest-common:

Fiona Ebner (1):
  storage tunnel: use pve-storage-image-format standard option

 src/PVE/StorageTunnel.pm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


Summary over all repositories:
  5 files changed, 44 insertions(+), 16 deletions(-)

-- 
Generated by git-murpp 0.5.0




More information about the pve-devel mailing list