[libvirt] Question on xm and virsh listing
Nikolai K. Bochev
n.bochev at grandstarco.com
Sat Apr 24 19:49:51 UTC 2010
AFAIK, virt list shows only running guests. Not sure how xm list behaves, but if it shows offline ( not running ) guests, that's where the difference can be. To achieve the same with virsh use "virsh list --all". Also i'd guess that if a xen guest was not create with virsh/virt-manager/virt-install , virsh won't know about it and won't show it in virsh list.
----- Original Message -----
I'd like to understand the exact mechanism for retrieving the list of
guests by xm/xend and virsh/libvirt.In what situations could the output
of 'xm list' differ from 'virsh list'?Which of these two is more
accurate?
I'd appreciate any pointers.
Thanks.
--
Nikolai K. Bochev
System Administrator
More information about the libvir-list
mailing list