Skip to contentSkip to conversation

xm list vs. xl list: more differences?

DISCUSSION Dan Magenheimer 3 participants 4 messages Aug 1, 2010 – Aug 2, 2010

lore
Share & tools
lore
#0 lore raw

I see that "xl list" shows a domain waiting idly for console input as "r", whereas "xm list" shows the same domain as "b". I also see that the State field for "xl list" contains only three characters (e.g. "r--"), whereas "xm list" shows six (e.g. "-b----").

Is this expected/intended (e.g. "r" in xm list means "running" and in xl list it means "runnable:), or is it a bug? For intended differences between xm and xl, is there any documentation?

Thanks,
Dan

#1 lore raw
Quoted 8 lines · Dan Magenheimer

I see that "xl list" shows a domain waiting idly for console input as "r", whereas "xm list" shows the same domain as "b". I also see that the State field for "xl list" contains only three characters (e.g. "r--"), whereas "xm list" shows six (e.g. "-b----").

Is this expected/intended (e.g. "r" in xm list means "running" and in xl list it means "runnable:), or is it a bug?

I think its a bug. Its very useful to be able to tell whether any vcpu in a domain is running or runnable at a glance.

J

#2 lore raw
In reply to Dan Magenheimer
Quoted 8 lines · Dan Magenheimer

I see that "xl list" shows a domain waiting idly for console input as "r", whereas "xm list" shows the same domain as "b". I also see that the State field for "xl list" contains only three characters (e.g. "r--"), whereas "xm list" shows six (e.g. "-b----").

Is this expected/intended (e.g. "r" in xm list means "running" and in xl list it means "runnable:), or is it a bug?

Take a look at this commit in xen-unstable.hg, I think it makes "xl list" and "xm list" the same:

changeset:   21849:1c1b02487b57
user:        Ian Campbell <[email protected]>
date:        Fri Jul 23 17:39:32 2010 +0100
summary:     libxl/xl: correctly report domain state.

Ian.

#3 lore raw
Quoted 16 lines

From: Ian Campbell [mailto:[email protected]]
Sent: Monday, August 02, 2010 1:16 AM
To: Dan Magenheimer
Cc: [email protected]
Subject: Re: [Xen-devel] xm list vs. xl list: more differences?

Quoted 8 lines · Dan Magenheimer

I see that "xl list" shows a domain waiting idly for console input as "r", whereas "xm list" shows the same domain as "b". I also see that the State field for "xl list" contains only three characters (e.g. "r--"), whereas "xm list" shows six (e.g. "-b----").

Is this expected/intended (e.g. "r" in xm list means "running" and in xl list it means "runnable:), or is it a bug?

Quoted 7 lines

Take a look at this commit in xen-unstable.hg, I think it makes "xl list" and "xm list" the same:

changeset:   21849:1c1b02487b57
user:        Ian Campbell <[email protected]>
date:        Fri Jul 23 17:39:32 2010 +0100
summary:     libxl/xl: correctly report domain state.

OK, thanks. My test bits are older than that. Sorry for the noise.