Displaying 3 results from an estimated 3 matches for "to_fix".
Did you mean:
  to_find
  
2008 Sep 28
2
is_mapped() in xc_domain_save()
...acro is doing in following:
/* Hypercall interfaces operate in PFNs for HVM guests
* and MFNs for PV guests */
if ( hvm )
    pfn_type[batch] = n;
else
    pfn_type[batch] = pfn_to_mfn(n);
if ( !is_mapped(pfn_type[batch]) )
{
    /*
    ** not currently in psuedo-physical map -- set bit
    ** in to_fix since we must send this page in last_iter
    ** unless its sent sooner anyhow, or it never enters
    ** pseudo-physical map (e.g. for ballooned down doms)
    */
    set_bit(n, to_fix);
    continue;
}
This chunk of code makes sense for saving PV domains.  The is_mapped()
function checks the MSB...
2011 May 06
14
[PATCH 0 of 4] Use superpages on restore/migrate
This patch series restores the use of superpages when restoring or
migrating a VM, while retaining efficient batching of 4k pages when
superpages are not appropriate or available.
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2007 Jan 11
0
[PATCH 6/8] HVM save restore: guest memory handling
.../
+    /* pretend we sent all the pages last iteration */
+    sent_last_iter = max_pfn;
+
+    /* calculate the power of 2 order of max_pfn, e.g.
+       15->4 16->4 17->5 */
+    for (i = max_pfn-1, order_nr = 0; i ; i >>= 1, order_nr++)
+        continue;
+
+    /* Setup to_send / to_fix and to_skip bitmaps */
+    to_send = malloc(BITMAP_SIZE);
+    to_skip = malloc(BITMAP_SIZE);
+
+    if (!to_send ||!to_skip) {
+        ERROR("Couldn''t allocate to_send array");
+        goto out;
+    }
+
+    memset(to_send, 0xff, BITMAP_SIZE);
+
+    if (lock_pages(to_send,...