[pve-devel] [PATCH qemu 01/19] weaken machine version deprecation warning

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jan 15 17:35:32 CET 2025


Am 03.01.25 um 16:57 schrieb Fiona Ebner:
> In commit a35f8577a0 ("include/hw: add macros for deprecation &
> removal of versioned machines"), a new machine version deprecation and
> removal policy was introduced. After only 3 years a machine version
> will be deprecated while being removed after 6 years.
> 
> The deprecation is a bit early considering major PVE releases are
> approximately every 2 years. This means that a deprecation warning can
> already happen for a machine version that was introduced during the
> previous major release. This would scare users for no good reason, so
> avoid deprecating machine versions in PVE too early and define a
> baseline of machine versions that will be supported throughout a
> single major PVE release.
> 
> PVE will warn about deprecated machine versions when it considers them
> to be deprecated, so avoid a scary-sounding warning from QEMU proper
> and turn it into an informational message about pre-deprecation.

I'd rather avoid the message for a bit longer too, while not a warning
anymore it can still rather scare users reading this when opening any
start task log of such a machine and then maybe even wonder why they
do not get warned about it. If they are fine to use for longer in PVE,
like we discussed of list before the holidays (I might have forgotten
some details though), then there probably should be no deprecation
warning at all until the next release when they are indeed deprecated
for our POV, then this might even stay a warning.




More information about the pve-devel mailing list