WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [patch]Make xend to take care of dead qemu-dm process

To: shawn <xiaowei.hu@xxxxxxxxxx>
Subject: Re: [Xen-devel] [patch]Make xend to take care of dead qemu-dm process
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 21 May 2008 10:37:52 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 21 May 2008 02:38:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1211361022.2219.37.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aci7JlbUlV6gJCcZEd2nzwAX8io7RQ==
Thread-topic: [Xen-devel] [patch]Make xend to take care of dead qemu-dm process
User-agent: Microsoft-Entourage/11.4.0.080122
On 21/5/08 10:10, "shawn" <xiaowei.hu@xxxxxxxxxx> wrote:

> yes,that may be a better solution.
> Do you mean just set the XendDomainInfo._stateSet(DOM_STATE_CRASHED),and
> let xend take care of the left things?

Yes. I have only a dim idea of how these things work in xend, but that's the
general idea and I expect there are existing examples of this kind of
approach already within xend.

> But I can't find DOM_STATE_CRASHED like constant defined,there is
> only DOM_STATE_HALTED,DOM_STATE_RUNNING,etc. So not sure this could
> work...

It's defined in XendConstants.py along with all the others!

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel