diff -r 8fc927798476 tools/libxc/xc_hvm_build.c --- a/tools/libxc/xc_hvm_build.c Tue Sep 01 11:36:51 2009 +0100 +++ b/tools/libxc/xc_hvm_build.c Wed Sep 02 16:52:00 2009 +0200 @@ -342,12 +342,6 @@ static int xc_hvm_build_internal(int xc_ return setup_guest(xc_handle, domid, memsize, target, image, image_size); } -static inline int is_loadable_phdr(Elf32_Phdr *phdr) -{ - return ((phdr->p_type == PT_LOAD) && - ((phdr->p_flags & (PF_W|PF_X)) != 0)); -} - /* xc_hvm_build: * Create a domain for a virtualized Linux, using files/filenames. */