From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: several Qs about domain live migration Date: Tue, 18 Nov 2008 09:47:56 +0000 Message-ID: References: <49228C4A.4090205@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49228C4A.4090205@intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Zhai, Edwin" Cc: "Tian, Kevin" , Xen Developers List-Id: xen-devel@lists.xenproject.org On 18/11/08 09:35, "Zhai, Edwin" wrote: > Keir, > As my test, video mem and vlapic page are okay, but share page is > still treated as ram. > > After going through the source code, I think this should be "no harm". > Although xc_domain_restore populate a new share page first, PV driver > in HVM guest will remap share page when resume, thus destroying > previous mapping and releasing previous page. > > So we want to use this simple patch, or mark the share page "not ram"? It's fine. The shared page mapping is not set up until after normal guest memory is restored. So it's safe. -- Keir