From: Keir Fraser Subject: Re: How to detect HAP from DomU? Date: Wed, 10 Nov 2010 08:50:22 +0000 Message-ID: References: <789F9655DD1B8F43B48D77C5D30659732FD7E294@shsmsx501.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <789F9655DD1B8F43B48D77C5D30659732FD7E294@shsmsx501.ccr.corp.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: "Jiang, Yunhong" , Juergen Gross Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 10/11/2010 08:44, "Jiang, Yunhong" wrote: >>> You could do a few remaps and copies and see how long it takes? Has the >>> advantage that you aren't tied up to one policy based on one system's >>> timings for those particuler ops. I don't think basing policy on static >>> assumptions about hidden implementation features is a good idea. >> >> Okay, that's a good idea. >> I'm going this way. > > Will this works for Live Migration? After LM, your previous check will be > invalid. (Can we migrate between system w/wo HAP?) > Or you can check after each LM. Yeah, you'd have to do that regardless of how you make the copy/remap decision. Well, unless your migration pool is homogeneous, which it ought to be in many cases. Anyhow, if the guest has PV drivers then you get a migration callback and you can hook off that easy enough. -- Keir