All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: Joshua West <jwest@brandeis.edu>,
	James Harper <james.harper@bendigoit.com.au>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: Error restoring DomU when using GPLPV
Date: Fri, 04 Sep 2009 21:02:44 -0700	[thread overview]
Message-ID: <4AA1E2E4.4070000@oracle.com> (raw)
In-Reply-To: <C69DF260.9ECD%keir.fraser@eu.citrix.com>



Keir Fraser wrote:
> On 04/08/2009 12:34, "James Harper" <james.harper@bendigoit.com.au> wrote:
> 
>>> Like I said before -- unmapping the gnttab pages I think will not help
>> you
>>> for live migration, but I suppose it is a reasonable thing to do
>> anyway. For
>>> live migration I think xc_domain_save needs t get a bit smarter about
>>> Xenheap pages in HVM guests.
>> Understood. Do you have any idea about why it worked fine under 3.3.x
>> but not 3.4.x?
> 
> The bit of code in 3.3's xc_domain_save.c that is commented "Skip PFNs that
> aren't really there" is removed in 3.4. That will be the reason.
> 
>  -- Keir

Hi,

I started looking at this couple days ago, and finally understand
what's going on. In our case, win migration/save-restore just fails, as
Annie/Wayne had posted.

In the short run, since frames for vga etc are skipped anyways, can we
just put the above change back in libxc (xen 3.4) and be ok?

thanks,
Mukesh


changeset:   18383:dade7f0bdc8d
user:        Keir Fraser <keir.fraser@citrix.com>
date:        Wed Aug 27 14:53:39 2008 +0100
summary:     hvm: Use main memory for video memory.

diff -r 2397555ebcc2 -r dade7f0bdc8d tools/libxc/xc_domain_save.c
--- a/tools/libxc/xc_domain_save.c      Wed Aug 27 13:31:01 2008 +0100
+++ b/tools/libxc/xc_domain_save.c      Wed Aug 27 14:53:39 2008 +0100
@@ -1111,12 +1111,6 @@
                         (test_bit(n, to_fix)  && last_iter)) )
                      continue;

-                /* Skip PFNs that aren't really there */
-                if ( hvm && ((n >= 0xa0 && n < 0xc0) /* VGA hole */
-                             || (n >= (HVM_BELOW_4G_MMIO_START >> PAGE_SHIFT)
-                                 && n < (1ULL<<32) >> PAGE_SHIFT)) /* MMIO */ )
-                    continue;
-

  parent reply	other threads:[~2009-09-05  4:02 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04  1:22 Error restoring DomU when using GPLPV James Harper
2009-08-04  1:41 ` James Harper
2009-08-04  5:30   ` James Harper
2009-08-04  6:10     ` James Harper
2009-08-04  7:58       ` James Harper
2009-08-04  8:21         ` Keir Fraser
2009-08-04  9:01           ` James Harper
2009-08-04  9:27             ` Keir Fraser
2009-08-04  9:34               ` James Harper
2009-08-04 10:28                 ` Keir Fraser
2009-08-04 10:40                   ` James Harper
2009-08-04 11:02                     ` Keir Fraser
2009-08-04 11:34                       ` James Harper
2009-08-04 13:12                         ` Keir Fraser
2009-08-18  8:17                           ` Pasi Kärkkäinen
2009-08-18  9:33                             ` James Harper
2009-08-19  7:39                               ` ANNIE LI
2009-08-19  7:52                                 ` Keir Fraser
2009-08-20  3:21                                   ` ANNIE LI
2009-09-05  4:02                           ` Mukesh Rathor [this message]
2009-09-05  6:49                             ` Keir Fraser
2009-08-20  8:17                       ` ANNIE LI
2009-08-20  8:27                         ` Keir Fraser
2009-08-20  9:42                           ` James Harper
2009-08-20 10:05                             ` ANNIE LI
2009-08-20 10:20                               ` Keir Fraser
2009-08-20 11:55                               ` ANNIE LI
2009-08-20 12:28                                 ` Keir Fraser
2009-08-21  4:11                                   ` ANNIE LI
2009-08-26 11:04                                     ` ANNIE LI
2009-08-27  9:28                                       ` ANNIE LI
2009-08-28  3:10                                         ` ANNIE LI
2009-09-02  4:05                                           ` ANNIE LI
2009-09-02  4:27                                             ` ANNIE LI
2009-09-04 21:28                                               ` Dan Magenheimer
2009-09-04 23:02                                                 ` Dan Magenheimer
2009-09-05  6:52                                                   ` Keir Fraser
2009-09-05  7:33                                                     ` ANNIE LI
2009-09-15  2:25                                                     ` Mukesh Rathor
2009-09-15  7:39                                                       ` Keir Fraser
2009-09-15 19:14                                                         ` Mukesh Rathor
2009-09-15 21:25                                                           ` Keir Fraser
2009-09-15 21:29                                                             ` Keir Fraser
2009-09-15 22:27                                                               ` Mukesh Rathor
2009-09-16  4:37                                                               ` ANNIE LI
2009-09-16 11:10                                                                 ` ANNIE LI
2009-09-16 12:28                                                                   ` Keir Fraser
2009-09-16 18:09                                                                     ` Dan Magenheimer
2009-09-16 20:50                                                                       ` Mukesh Rathor
2009-09-17  6:21                                                                         ` Keir Fraser
2009-09-17 15:41                                                                           ` Dan Magenheimer
2009-09-24 20:24                                                                   ` Error restoring DomU when using GPLPV / fix for GPLPV drivers Pasi Kärkkäinen
2009-10-27 20:05                                                                     ` Keith Coleman
2009-08-20 10:19                             ` Error restoring DomU when using GPLPV Keir Fraser
2009-08-20 10:41                               ` Keir Fraser
2009-08-04 10:39               ` James Harper
2009-08-04  9:26           ` James Harper
2009-08-25 10:02             ` Wayne Gong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AA1E2E4.4070000@oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=james.harper@bendigoit.com.au \
    --cc=jwest@brandeis.edu \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.