This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Testing for domain states (before starting, before restartin

To: "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Testing for domain states (before starting, before restarting, and after "save")
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Thu, 19 Nov 2009 16:32:51 -0800 (PST)
Delivery-date: Thu, 19 Nov 2009 16:35:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Is there a way (in the hypervisor) to test a domain to see if is created but has not yet executed its first instruction (or has been restored/live-migrated 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 the assumption is incorrect.  If not (or if it is too complicated), I'll just use comments.
Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>