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] Re: almost working

To: James Harper <JamesH@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: almost working
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 03 Jul 2004 12:36:09 +0100
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 03 Jul 2004 12:54:58 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Sat, 03 Jul 2004 20:24:54 +1000." <1A128452-AD4C-455D-B19C-BD57C94FFE17@mimectl>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> What are the meanings of 'state'? I see dom0 as 'r----', and dom1 (when it 
> works) appears as '-b---', and when it doesn't it appears with a 'p' 
> somewhere in there. I would have thought that 'b' mean
s booting, and it should then progress to 'r' meaning running.

I have some better state-output code that I'll check in for the 'xm'
tool. Currently, the flag array is 'rbpsc', where:
 r: Running
 b: Blocked (e.g., waiting for I/O)
 p: Paused DOM0 by control software
 s: Domain has shut itself down (probably awaiting cleanup by xend)
 c: Domain crashed inside Xen -- shutdown pending postmortem by xend

I have code that actually gives a useful phrase describing the state
of the domain in plain English, which might be more useful. :-)

 -- Keir


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel