aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/Makefile
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-01-13 08:12:56 +0000
committerKeir Fraser <keir.fraser@citrix.com>2010-01-13 08:12:56 +0000
commit9fececad98aa1259a9896edf7e7931822e3eef87 (patch)
tree5f7b5081edfee2647be16264a12e48c10465fc82 /tools/libxc/Makefile
parentd092fb82a229773dad917f5a6eaa3cced9054d19 (diff)
downloadxen-9fececad98aa1259a9896edf7e7931822e3eef87.tar.gz
xen-9fececad98aa1259a9896edf7e7931822e3eef87.tar.bz2
xen-9fececad98aa1259a9896edf7e7931822e3eef87.zip
libxc: use new (replacement) mmap-batch ioctl
Replace all calls to xc_map_foreign_batch() where the caller doesn't look at the passed in array to check for errors by calls to xc_map_foreign_pages(). Replace all remaining calls by such to the newly introduced xc_map_foreign_bulk(). As a sideband modification (needed while writing the patch to ensure they're unused) eliminate unused parameters to uncanonicalize_pagetable() and xc_map_foreign_batch_single(). Also unmap live_p2m_frame_list earlier in map_and_save_p2m_table(), reducing the peak amount of virtual address space required. All supported OSes other than Linux continue to use the old ioctl for the time being. Also change libxc's MAJOR to 4.0 to reflect the API change. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'tools/libxc/Makefile')
-rw-r--r--tools/libxc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile
index 8a5bdb5ced..8a565e1370 100644
--- a/tools/libxc/Makefile
+++ b/tools/libxc/Makefile
@@ -1,7 +1,7 @@
XEN_ROOT = ../..
include $(XEN_ROOT)/tools/Rules.mk
-MAJOR = 3.4
+MAJOR = 4.0
MINOR = 0
CTRL_SRCS-y :=