[libvirt] [PATCH v4 11/13] Implement driver interface domainGetMemoryParamters for LXC
Daniel Veillard
veillard at redhat.com
Tue Oct 12 16:41:04 UTC 2010
On Fri, Oct 08, 2010 at 05:46:40PM +0530, Nikunj A. Dadhania wrote:
> From: Nikunj A. Dadhania <nikunj at linux.vnet.ibm.com>
>
> v4:
> * prototype change: add unsigned int flags
>
> Driver interface for getting memory parameters, eg. hard_limit, soft_limit and
> swap_hard_limit.
>
> Signed-off-by: Nikunj A. Dadhania <nikunj at linux.vnet.ibm.com>
> ---
> src/lxc/lxc_driver.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 113 insertions(+), 1 deletions(-)
>
> diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
> index 984a5fa..036dedf 100644
> --- a/src/lxc/lxc_driver.c
> +++ b/src/lxc/lxc_driver.c
> @@ -766,6 +766,118 @@ cleanup:
> return ret;
> }
same as for the QEmu driver equivalent, I fixed the error handling and
create a new constant at the top of the file.
Once done, ACK, and pushed to my tree,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list