From: "Zhai, Edwin" <edwin.zhai@intel.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: "Tian, Kevin" <kevin.tian@intel.com>,
Xen Developers <xen-devel@lists.xensource.com>,
"Zhai, Edwin" <edwin.zhai@intel.com>
Subject: Re: several Qs about domain live migration
Date: Tue, 18 Nov 2008 09:17:24 +0800 [thread overview]
Message-ID: <20081118011724.GA8523@edwin-srv.sh.intel.com> (raw)
In-Reply-To: <C546DE73.1F47F%keir.fraser@eu.citrix.com>
Keir,
We are trying to fix a HVM live migration bug, and found "Use main memory for
video memory" in r18383 cause guest hang after restore.
Following changes make all valid pages migrated, including vlapic page
(0xFEE00), and share page(0xFFFFF), so an extra memory population for these 2
pages would override previous mapping then cause guest hang (if using vlapic
acceleration).
What do you think of possible fixing? Skipping these specific pages in
xc_domain_save except video memory, or change the HVM domain creation.
Thanks,
=====================================================================
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
@@ -1109,12 +1109,6 @@ int xc_domain_save(int xc_handle, int io
if ( !((test_bit(n, to_send) && !test_bit(n, to_skip)) ||
(test_bit(n, to_send) && last_iter) ||
(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;
/*
On Mon, Nov 17, 2008 at 04:40:19PM +0800, Keir Fraser wrote:
>
>
>
> On 17/11/08 07:49, "Tian, Kevin" <kevin.tian@intel.com> wrote:
>
> > But I don't know where XEN_DOMCTL_PFINFO_XTAB may be
> > set for hvm domain. Could you help spot it to me?
>
> xc_map_foreign_batch()
>
> -- Keir
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
--
best rgds,
edwin
next prev parent reply other threads:[~2008-11-18 1:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-17 6:50 several Qs about domain live migration Tian, Kevin
2008-11-17 7:45 ` Keir Fraser
2008-11-17 7:49 ` Tian, Kevin
2008-11-17 8:40 ` Keir Fraser
2008-11-17 8:46 ` Tian, Kevin
2008-11-18 1:17 ` Zhai, Edwin [this message]
2008-11-18 8:13 ` Keir Fraser
2008-11-18 8:22 ` Zhai, Edwin
2008-11-18 9:12 ` Keir Fraser
2008-11-18 9:35 ` Zhai, Edwin
2008-11-18 9:47 ` Keir Fraser
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=20081118011724.GA8523@edwin-srv.sh.intel.com \
--to=edwin.zhai@intel.com \
--cc=keir.fraser@eu.citrix.com \
--cc=kevin.tian@intel.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.