diff -r 4ab68bf4c37e tools/libxc/xc_domain_restore.c --- a/tools/libxc/xc_domain_restore.c Thu Jun 03 07:30:54 2010 +0100 +++ b/tools/libxc/xc_domain_restore.c Thu Jun 03 16:48:38 2010 +0800 @@ -248,6 +248,7 @@ static int allocate_mfn_list(xc_interfac if ( super_page_populated(xch, ctx, pfn) ) goto normal_page; +#if 0 pfn &= ~(SUPERPAGE_NR_PFNS - 1); mfn = pfn; @@ -263,6 +264,7 @@ static int allocate_mfn_list(xc_interfac DPRINTF("No 2M page available for pfn 0x%lx, fall back to 4K page.\n", pfn); ctx->no_superpage_mem = 1; +#endif normal_page: if ( !batch_buf )