[libvirt] [PATCH 01/12] Adding virDomainSetMemoryParameters API

Nikunj A. Dadhania nikunj at linux.vnet.ibm.com
Wed Sep 22 04:16:52 UTC 2010


On Tue, 21 Sep 2010 18:13:33 +0100, "Daniel P. Berrange" <berrange at redhat.com> wrote:
> On Mon, Sep 20, 2010 at 02:14:49PM +0530, Nikunj A. Dadhania wrote:
> > From: Nikunj A. Dadhania <nikunj at linux.vnet.ibm.com>
> > 
> > +/* Set memory tunables for the domain*/
> > +int     virDomainSetMemoryParameters(virDomainPtr domain,
> > +				     virMemoryParameterPtr params,
> > +				     int nparams);
> > +
> 
> How about a virDomainGetMemoryParameters() API too ? I know
> you can get that via XML, but since we're adding a 'setter'
> its easy to add a 'getter' at the same time.
> 
That is in the list of my todo [patch 00/12]. As the patch series was getting
bigger, I thought of pushing the virDomainSetMemoryParamters first and would
send the getter next.

Nikunj




More information about the libvir-list mailing list