From: Keir Fraser Subject: Re: resume of HVM guest without PV drivers Date: Fri, 07 Aug 2009 10:44:36 +0100 Message-ID: References: <4A7C0C54020000780000E970@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A7C0C54020000780000E970@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 So you're interested in a scenario that is PV'ed-up enough to do hypercalls, but not enough to talk xenbus? 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). -- Keir On 07/08/2009 10:13, "Jan Beulich" wrote: > Meanwhile I thought of a (theoretical) way, but to my surprise it wouldn't > work: The guest vCPU-s could check their registered runstate areas' state > field, which should be stale (i.e. not RUNSTATE_running), but the surprise > (to me) was that this gets updated only on context switch in, not on > switch out (which means that at present that field also cannot be used to > determine whether a remote vCPU is currently running - another thing > that I intended to exploit [accepting that the state maybe stale by the > time it gets evaluated/used]). > > Fixing this is obviously trivial (under the premise that you'd take such a > patch), but expected functionality then of course will depend upon this > patch being present in hypervisors derived from older code bases. > > Jan > >>>> Keir Fraser 07.08.09 11:01 >>> > No. Perhaps something could be added if it's useful. > > -- Keir > > On 07/08/2009 09:34, "Jan Beulich" wrote: > >> Does a HVM guest without PV drivers have any way to know it got resumed >> after a migration or save/restore cycle? >> >> Thanks, Jan >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel > > >