[libvirt] Question on xm and virsh listing

2010-04-24 Thread Nandini Chandra
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.

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Question on xm and virsh listing

2010-04-24 Thread Nikolai K. Bochev
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 



--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list