On Tue, 21 Sep 2010 18:13:33 +0100, "Daniel P. Berrange"
<berrange(a)redhat.com> wrote:
On Mon, Sep 20, 2010 at 02:14:49PM +0530, Nikunj A. Dadhania wrote:
> From: Nikunj A. Dadhania <nikunj(a)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