diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-10-18 17:17:25 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2010-10-18 17:17:25 +0100 |
commit | d5023b6b5f93888c9ce08279c64ceec3fa20495b (patch) | |
tree | 10cd513b99a0bb93ad99cb10ee1f21e4a4b63077 /tools/libxc/xg_save_restore.h | |
parent | 3a97052f4353921447d8f3e58614350db5c3d120 (diff) | |
download | xen-d5023b6b5f93888c9ce08279c64ceec3fa20495b.tar.gz xen-d5023b6b5f93888c9ce08279c64ceec3fa20495b.tar.bz2 xen-d5023b6b5f93888c9ce08279c64ceec3fa20495b.zip |
libxc: add xc_maximum_ram_page to wrap XENMEM_maximum_ram_page
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xg_save_restore.h')
-rw-r--r-- | tools/libxc/xg_save_restore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xg_save_restore.h b/tools/libxc/xg_save_restore.h index 0bc958344c..2c82ce7404 100644 --- a/tools/libxc/xg_save_restore.h +++ b/tools/libxc/xg_save_restore.h @@ -179,7 +179,7 @@ static inline int get_platform_info(xc_interface *xch, uint32_t dom, if (xc_version(xch, XENVER_capabilities, &xen_caps) != 0) return 0; - *max_mfn = xc_memory_op(xch, XENMEM_maximum_ram_page, NULL); + *max_mfn = xc_maximum_ram_page(xch); *hvirt_start = xen_params.virt_start; |