From: Ian Campbell Subject: Re: [PATCH V4] X86/vMCE: handle broken page with regard to migration Date: Wed, 5 Dec 2012 16:01:53 +0000 Message-ID: <1354723313.17165.11.camel@zakaz.uk.xensource.com> References: <1354183356.25834.108.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Liu, Jinsong" Cc: George Dunlap , "xen-devel@lists.xensource.com" , Ian Jackson , Jan Beulich List-Id: xen-devel@lists.xenproject.org (please trim your quotes) > More simply, we can remove not only step #8 for last iteration check, > but also the action to 'mark broken page to dirty bitmap': > In any iteration, there is a key point #4, if vmce occur before #4 it > will transfer proper pfn_type/pfn_number and (xl migration) will not > access broken page (if guest access the broken page again it will be > killed by hypervisor), if vmce occur after #4 system will crash and no > need care migration any more. > > So we can go back to the original patch which used to handle 'vmce > occur before migration' and entirely don't need add specific code to > handle 'vmce occur during migration', since it in fact has handled > both cases (and simple). Thoughts? Do you not need that stuff to handle MCEs during the live phase? Specifically an MCE occurring on a page which is not in the current batch at all can be handled safely during the live phase. Ian.