From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Dario Faggioli <dario.faggioli@citrix.com>
Cc: Ian Campbell <Ian.Campbell@eu.citrix.com>,
George Dunlap <george.dunlap@eu.citrix.com>,
Jim Fehlig <jfehlig@suse.com>,
xen-devel@lists.xen.org
Subject: Re: [PATCH] libxl: add LIBXL_HAVE_<foo> for outstanding_pages and outstanding_memkb
Date: Fri, 7 Jun 2013 06:49:56 -0700 (PDT) [thread overview]
Message-ID: <20130607134956.GB25649@phenom.dumpdata.com> (raw)
In-Reply-To: <20130606225041.14533.77390.stgit@hit-nxdomain.opendns.com>
On Fri, Jun 07, 2013 at 12:50:41AM +0200, Dario Faggioli wrote:
> Commits d0782481 and bec8f17e added these two fields in libxl_physinfo
One usually includes right after the git commit the title
of the patches, so:
d0782481 ("xl: export 'outstanding_pages' value from xcinfo") and
...
> and in libxl_dominfo, respectively, but did not include the needed
> LIBXL_HAVE_<foo> runes. Adding them.
>
> Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Besides the above mention commit description part (And one tweak below)
please also add
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
or Acked-by - whichever George is looking for.
> ---
> tools/libxl/libxl.h | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h
> index 0bc005e..3d3bbdd 100644
> --- a/tools/libxl/libxl.h
> +++ b/tools/libxl/libxl.h
> @@ -318,6 +318,24 @@
> #define LIBXL_HAVE_NONCONST_EVENT_OCCURS_EVENT_ARG 1
> #endif
>
> +/*
> + * LIBXL_HAVE_PHYSINFO_OUTSTANDING_PAGES
> + *
> + * If this is defined, libxl_physinfo structure will contain an uint64 field
> + * called outstanding_pages, containing the number of pages claimed but not
> + * yet allocated.
.. for all domains.
> + */
> +#define LIBXL_HAVE_PHYSINFO_OUTSTANDING_PAGES 1
> +
> +/*
> + * LIBXL_HAVE_DOMINFO_OUTSTANDING_MEMKB 1
> + *
> + * If this is defined, libxl_dominfo will contain a MemKB type field called
> + * outstanding_memkb, containing the amount of claimed but not yet allocated
> + * memory for a specific domain.
> + */
> +#define LIBXL_HAVE_DOMINFO_OUTSTANDING_MEMKB 1
> +
> /* Functions annotated with LIBXL_EXTERNAL_CALLERS_ONLY may not be
> * called from within libxl itself. Callers outside libxl, who
> * do not #include libxl_internal.h, are fine. */
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
>
next prev parent reply other threads:[~2013-06-07 13:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-06 22:50 [PATCH] LIBXL_HAVE_<xxx> for claim related visible fields Dario Faggioli
2013-06-06 22:50 ` [PATCH] libxl: add LIBXL_HAVE_<foo> for outstanding_pages and outstanding_memkb Dario Faggioli
2013-06-07 13:49 ` Konrad Rzeszutek Wilk [this message]
2013-06-07 13:54 ` Dario Faggioli
2013-06-11 9:19 ` Ian Campbell
2013-06-11 9:28 ` Dario Faggioli
2013-06-11 9:41 ` Ian Campbell
2013-06-11 12:56 ` konrad wilk
2013-06-07 14:05 ` George Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130607134956.GB25649@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Campbell@eu.citrix.com \
--cc=dario.faggioli@citrix.com \
--cc=george.dunlap@eu.citrix.com \
--cc=jfehlig@suse.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.