]> xenbits.xen.org Git - xenclient/xen.git/commitdiff
Workaround for the suspend/resume freeze.
authorJean Guyader <jean.guyader@eu.citrix.com>
Mon, 16 Feb 2009 18:03:06 +0000 (18:03 +0000)
committerJean Guyader <jean.guyader@eu.citrix.com>
Mon, 16 Feb 2009 18:03:06 +0000 (18:03 +0000)
tools/libxc/xc_domain_save.c

index a91041498841312a5e7ccc2d0c9b8af6b5fd14b5..1a5671c01daf4513321d615a88acf243472a0e11 100644 (file)
@@ -1062,6 +1062,13 @@ int xc_domain_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters,
                        (test_bit(n, to_fix)  && last_iter)) )
                     continue;
 
+               /* Skip PFNs that aren't really there */
+               if ( hvm && ((n >= 0xa0 && n < 0xc0) /* VGA hole */
+                            || (n >= (0xfd000000 >> PAGE_SHIFT)
+                                && n < (0xff000000) >> PAGE_SHIFT)) /* MMIO */ )
+                   continue;
+
+
                 /*
                 ** we get here if:
                 **  1. page is marked to_send & hasn't already been re-dirtied