diff options
Diffstat (limited to 'tools/libxc/xc_linux_restore.c')
-rw-r--r-- | tools/libxc/xc_linux_restore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxc/xc_linux_restore.c b/tools/libxc/xc_linux_restore.c index 6d4f0906aa..3c984b4f19 100644 --- a/tools/libxc/xc_linux_restore.c +++ b/tools/libxc/xc_linux_restore.c @@ -325,7 +325,7 @@ int xc_linux_restore(int xc_handle, XcIOContext *ioctxt) } } - if ( (region_base = mfn_mapper_map_batch( xc_handle, dom, + if ( (region_base = xc_map_foreign_batch( xc_handle, dom, PROT_WRITE, region_mfn, j )) == 0 ) @@ -631,7 +631,7 @@ printf("XXXXXXXXXXXXXXX pin L2\n"); } if ( (live_pfn_to_mfn_table = - mfn_mapper_map_batch(xc_handle, dom, + xc_map_foreign_batch(xc_handle, dom, PROT_WRITE, pfn_to_mfn_frame_list, (nr_pfns+1023)/1024 )) == 0 ) |