Am 29.01.26 um 14:09 schrieb Fiona Ebner:
> It cannot change while the module is loaded. Also, commit "cpu config:
> support aarch64 CPU models" will use the host arch as a hash key,
> which is cleaner if no additional function call is required.

Note that this is already cached in pve-common, so adding another 
module variable is not really giving us anything here.

I would rather slightly prefer moving the initialization code for the
CPU models from the module level into a singleton cache method, that way
one only executes that stuff if really needed for the current code path.

But that would be mostly a code clean-up that can be done later in any
case.



Reply via email to