[pve-devel] [PATCH ha-manager 02/11] resources: add get_static_stats() method

DERUMIER, Alexandre Alexandre.DERUMIER at groupe-cyllene.com
Wed Nov 16 13:38:59 CET 2022


> > 
> > same here. As this is just internal we can also adapt it later
> > though..
> > 
> 
> Well, the Rust backend also uses 'maxcpu' and 'maxmem' currently :/
> So at least in Usage/Static.pm, it will be more difficult to change
> later.
> 

Hi,

I still have a virtio-mem pending patch series,
where I introduce a real maxmemory option in config file.
https://www.mail-archive.com/pve-devel@lists.proxmox.com/msg09395.html


I think we should use same variable than in config files to avoid
confusion.

maxmemory: the max memory we can hotplug when virtio-mem is used
memory: the current online memory module
balloon: the min size we can balloon.




More information about the pve-devel mailing list