VM conf format changes

wosp

Renowned Member
Apr 18, 2015
203
23
83
38
The Netherlands
Why is it that almost every update there are VM config format changes? And if needed, why don't automaticly change the config format for all VM's that exists already? For example:

On PVE 4.1-22 it was

virtio0: SSD-cluster:vm-103-disk-1,size=40G
net0: virtio=3A:A8:A8:DB:EC:F5,bridge=vmbr0209
ide2: none,media=cdrom

On PVE 4.2-2 it was:

virtio0: SSD-cluster:vm-103-disk-1,size=40G
net0: bridge=vmbr0209,virtio=3A:A8:A8:DB:EC:F5
ide2: none,media=cdrom

And one PVE 4.2-5 it is:

virtio0: file=SSD-cluster:vm-103-disk-1,size=40G
net0: virtio=3A:A8:A8:DB:EC:F5,bridge=vmbr0209
ide2: file=none,media=cdrom
 
First, that change is valid syntax. Second, the change was a mistake, and we already fixed it in git. So the next version will write the short form again.
 
So, next version will be:

virtio0: SSD-cluster:vm-103-disk-1,size=40G
net0: virtio=3A:A8:A8:DB:EC:F5,bridge=vmbr0209
ide2: none,media=cdrom

Like it was in 4.1-22, correct?