libxc: introduce xc_map_domain_meminfo (and xc_unmap_domain_meminfo)
authorDario Faggioli <dario.faggioli@citrix.com>
Tue, 10 Sep 2013 17:54:12 +0000 (19:54 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 13 Sep 2013 12:10:07 +0000 (13:10 +0100)
commit266abb240738bb37ccb28623806273c58523f422
treee76529b1acdc3a21ebd82fb5d776a45d8c2ba0bc
parentdfdfcdc6f7c51ef7e5d0547120d0ac943ef43c67
libxc: introduce xc_map_domain_meminfo (and xc_unmap_domain_meminfo)

And use it in xc_exchange_page(). This is basically because the
following change need something really similar to the set of
steps that are here abstracted in these two functions.

Despite of the change in the interface and in the signature of
some functions, this is pure code motion. No functional changes
involved.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xc_domain.c
tools/libxc/xc_offline_page.c
tools/libxc/xenguest.h
tools/libxc/xg_private.h