From: Dan Magenheimer Subject: Testing for domain states (before starting, before restarting, and after "save") Date: Thu, 19 Nov 2009 16:32:51 -0800 (PST) Message-ID: <8658f197-faef-40b5-9f7f-e3f0b65e1f45@default> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0425472675==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org --===============0425472675== Content-Type: multipart/alternative; boundary="__125867718650356712abhmt009.oracle.com" --__125867718650356712abhmt009.oracle.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Is there a way (in the hypervisor) to test a domain to see if is created bu= t has not yet executed its first instruction (or has been restored/live-mig= rated but has not yet executed its first instruction post-restore)? Or to = see if it has been stopped in anticipation of a save (or live migrate) and = will not execute more instructions unless/until it is restored (or revived = on the live-migrate target machine)? I'm writing routines for tsc_mode that assumes each of those conditions and= , rather than just comment about it, thought it would be nice to fail if th= e assumption is incorrect. If not (or if it is too complicated), I'll just= use comments. Thanks, Dan --__125867718650356712abhmt009.oracle.com Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Is ther= e a way (in=20 the hypervisor) to test a domain to see if is created but has not yet exe= cuted=20 its first instruction (or has been restored/live-migrated but has not yet= =20 executed its first instruction post-restore)?  Or to see if it has b= een=20 stopped in anticipation of a save (or live migrate) and will not execute = more=20 instructions unless/until it is restored (or revived on the=20 live-migrate target machine)?
 
I'm=20 writing routines for tsc_mode that assumes each of those conditions = and,=20 rather than just comment about it, thought it would be nice to fail if th= e=20 assumption is incorrect.  If not (or if it is too complicated), I'll= just=20 use comments.
= &nbs= p;
Thanks,
Dan
 
--__125867718650356712abhmt009.oracle.com-- --===============0425472675== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0425472675==--