Skip to contentSkip to conversation

libxc: use new (replacement) mmap-batch ioctl

Xen-changelog Mark Johnson 2 participants 2 messages Jan 14, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 7 lines · Xen patchbot-unstable

# HG changeset patch
# User Keir Fraser <[email protected]> # Date 1263370376 0
# Node ID 0b138a01929237f671a3bb7021755d304e294699 # Parent  0e3910f1de6483cd22d066d491db646a6bc41fa4
libxc: use new (replacement) mmap-batch ioctl

Quoted 5 lines

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().

FYI, I see the following build error with this patch... xc_map_foreign_bulk() should be moved up.

MRJ

xc_misc.c:390: warning: weak declaration of 'xc_map_foreign_bulk' after first use results in unspecified behavior gmake[5]: *** [xc_misc.o] Error 1
gmake[4]: *** [build] Error 2
gmake[3]: *** [subdir-install-libxc] Error 2
gmake[2]: *** [subdirs-install] Error 2
gmake[1]: *** [install-tools] Error 2
gmake: *** [world] Error 2

#2 lore raw
Quoted 5 lines
Quoted 2 lines
Quoted 1 line

Mark Johnson <[email protected]> 14.01.10 15:24 >>>

libxc: use new (replacement) mmap-batch ioctl

FYI, I see the following build error with this patch... xc_map_foreign_bulk() should be moved up.

Quoted 8 lines

xc_misc.c:390: warning: weak declaration of 'xc_map_foreign_bulk' after first use results in unspecified behavior gmake[5]: *** [xc_misc.o] Error 1
gmake[4]: *** [build] Error 2
gmake[3]: *** [subdir-install-libxc] Error 2
gmake[2]: *** [subdirs-install] Error 2
gmake[1]: *** [install-tools] Error 2
gmake: *** [world] Error 2

On Linux? What compiler (version)?

Jan