From: Keir Fraser Subject: Re: resume of HVM guest without PV drivers Date: Fri, 07 Aug 2009 11:13:58 +0100 Message-ID: References: <4A7C15B1020000780000E9D3@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A7C15B1020000780000E9D3@vpn.id2.novell.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: Jan Beulich Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 07/08/2009 10:53, "Jan Beulich" wrote: >> If you only care about being able to poll for having migrated/saved, there >> must be some other bit of state you can push to Xen that doesn't get >> migrated/saved. Like, create an IPI event channel and poll its status >> (EVTCHNOP_status). > > No, a hypercall of any sort is not a good option (namely if I wanted to > use a hypercall page, which I'm not certain about yet, as that would > create a chicken-and-egg problem). It must be some memory state that > I can examine. So what does improving ticket lock behaviour have to do with save/restore? I'm a bit confused now. > And with the goal of improving lock behavior, I also definitely will need to > have a way to know whether a remote vCPU is currently running, and > here it is obviously preferable to not have to use a hypercall to find out > (i.e. I'd want the runstate area change I'm looking at anyway). I'll certainly consider the patch. I'd also consider a CPUID flag to indicate its presence. -- Keir