[pve-devel] [PATCH-SERIES v2 common/manager 0/2] preparation for #3900: support parsing verbose size suffixes {K, M, G, T}iB

Fiona Ebner f.ebner at proxmox.com
Mon Jun 2 13:32:02 CEST 2025


Add early support for parsing verbose suffixes {K,M,G,T}iB for sizes.
Currently, this is almost exclusively used for guest disks. The plan
is to write disks with the new suffixes starting with Proxmox VE 9 and
having parsing support already in Proxmox VE 8 will help with people
doing accidental (or otherwise) backwards-migrations of guests.

Changes in v2:
* Only add parsing support for now.

common:

Fiona Ebner (1):
  schema: support sizes with verbose suffixes {K,M,G,T}iB

 src/PVE/JSONSchema.pm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

manager:

Fiona Ebner (1):
  vzdump: use verbose size suffix when logging archive file size

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

-- 
2.39.5





More information about the pve-devel mailing list