[libvirt] FreeNodeMemory

Stefan de Konink stefan at konink.de
Fri Feb 6 11:21:30 UTC 2009


Daniel P. Berrange wrote:
> On Fri, Feb 06, 2009 at 12:15:02PM +0100, Stefan de Konink wrote:
>> Daniel P. Berrange wrote:
>>> On Fri, Feb 06, 2009 at 09:53:04AM +0000, Gihan Munasinghe wrote:
>>>> Is there a specific reason for not having a "free_memory" with in the 
>>>> "virNodeInfo" structure.
>>> All public structures are part of the public ABI and channot
>>> be changed once added. 
>> In that case, when do you consider a .so bump an option?
> 
> Never.

So to put it bundly, then you have much confidence in your design skills 
if you never allow structures to be extended. What is wrong with 
releasing a new version of the API having these structures added, and 
deprecated logic/macro's for the functions that access them?


Stefan




More information about the libvir-list mailing list