Files
xen/tools/libxc
Konrad Rzeszutek Wilk 71cba2a07b libxc: Introduce xc_domain_nr_gpfns as a cousin of xc_domain_maximum_gpfn.
The commit a8f8a590e0
"libxc: Check xc_domain_maximum_gpfn for negative return values"
introduced an regression in tools outside libxc (migrate v2)
which wanted the unfiltered GPFN value. Said commit added
a wrapper which added +1 if there were no errors.

To make it work pre-commit a8f8a59 we add an xc_domain_nr_gpfns
which will add +1 if there are no errors (and change all in-tree
callers to use it). The xc_domain_maximum_gpfn will return the
unfiltered GPFN value.

Suggested-by: Ian Campbell <ian.campbell@citrix.com>
Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
2015-03-30 16:07:30 +01:00
..
2010-08-24 18:42:59 +01:00
2010-08-24 18:42:59 +01:00
2010-08-24 18:42:59 +01:00
2010-08-24 18:42:59 +01:00
2010-08-24 18:42:59 +01:00
2014-03-12 13:26:15 +00:00
2014-06-18 17:17:49 +01:00
2013-11-12 11:47:07 +01:00
2014-09-23 14:40:07 +01:00
2010-08-24 18:42:59 +01:00
2014-06-05 13:53:59 +01:00
2014-05-02 13:34:34 +01:00
2010-08-24 18:42:59 +01:00