Xen Project Q&A Forum: First Line Help for Simple Questions

This is your chance to ask questions and provide answers about basic use of the Xen Project software. For debugging problems and for more complex issues, consider using the xen-users mailing list instead. You can find information about xen-users under "HELP | Mailing Lists" in the navigation bar above.


Difference in xm and xl list

posted in New Users
Friday, November 15 2013, 07:56 PM
I'm new to xen toolstacks - trying `xe`, `xl`.

Now i've created a guest os:

sudo virt-install -r 512 -n centos -f /dev/sdb --nographics --location http://mirror.centos.org/centos/6/os/x86_64

And want to see it in a list of DomU guests. Using `xm`:

[egor@xen ~]$ sudo xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 1024 1 r----- 160.8
centos 512 1 0.0

But using `xl`:

[egor@xen ~]$ sudo xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 1024 1 r----- 164.8

Could you help me - why there is no `centos` in `xl` list?
Responses (1)
  • Accepted Answer

    Tuesday, November 19 2013, 07:37 PM - #permalink
    You only use one toolkit at a time. You need to use xm or xl, but you can't move back and forth without modifying the config and rebooting AFAIK. So one toolkit will work, while the other won't. It appears that you are currently configured to use "xm", hence the results you see.

    A discussion of this can be found here:

    and a comparison of the two toolstacks themselves can be found here:

    The reply is currently minimized Show
Your Reply