[ovirt-devel] Who cares about 'memGuaranteedSize'?

Francesco Romani fromani at redhat.com
Thu Jun 8 07:28:04 UTC 2017


Hi all,


We have this field in the Vdsm API:


        -   description: The amount of memory guaranteed to the VM in MB
            name: memGuaranteedSize
            type: uint


Available in     VmDefinition, VMFullInfo, VmParameters


Vdsm dutifully records and reports this value - but doesn't use it. It
is used exactly once for balloon stata:


        stats['balloonInfo'].update({
            'balloon_max': str(max_mem),
            'balloon_min': str(
                int(vm.conf.get('memGuaranteedSize', '0')) * 1024),
            'balloon_cur': str(balloon_cur),
            'balloon_target': str(balloon_target)
        })


Now, a quick git grep in both MOM and Engine reveals no obvious usages.
Am I missing something?

Can we drop this for 4.2, and deprecate it in next(4.1) ?


Thanks,

-- 
Francesco Romani
Senior SW Eng., Virtualization R&D
Red Hat
IRC: fromani github: @fromanirh



More information about the Devel mailing list