From: Keir Fraser Subject: Re: [patch]Make xend to take care of dead qemu-dm process Date: Wed, 21 May 2008 10:37:52 +0100 Message-ID: References: <1211361022.2219.37.camel@redfuture-desktop.cn.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1211361022.2219.37.camel@redfuture-desktop.cn.oracle.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: shawn Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 21/5/08 10:10, "shawn" 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 th= e general idea and I expect there are existing examples of this kind of approach already within xend. > But I can't find =EF=BB=BFDOM_STATE_CRASHED like constant defined,there is > only =EF=BB=BFDOM_STATE_HALTED,=EF=BB=BFDOM_STATE_RUNNING,etc. So not sure this could > work... It's defined in XendConstants.py along with all the others! -- Keir