$NetBSD: patch-cv,v 1.1.1.1 2007/06/14 19:39:46 bouyer Exp $ --- libxc/xc_hvm_build.c 2007-06-12 23:36:11.000000000 +0200 +++ libxc/xc_hvm_build.c.orig 2007-06-12 23:35:55.000000000 +0200 @@ -120,7 +120,7 @@ if ( entries == NULL ) goto err; elf->dest = mmap(NULL, pages << PAGE_SHIFT, PROT_READ | PROT_WRITE, - MAP_SHARED, xch, 0); + MAP_ANON | MAP_SHARED, -1, 0); if ( elf->dest == MAP_FAILED ) goto err;