[libvirt] Virsh list on xen after stop/restart not working properly

Hello, I am seeing an issue on libvirt 0.6.1 and 0.6.3 with xen3.3.1 where virsh list -all isn't reporting all vms that are active. It happens after you shutdown and then restart a vm. As a side note, it works fine on libvirt 0.3.3. It appears that the domid of the vm is changed when you shutdown/restart a vm on xen. Libvirt is checking xenstore to find domids and it is finding the old ones that are marked as cancelled and not finding the higher number ones that are active/valid. Has anyone seen this issue and have a patch for it? It looks like the old libvirt 0.3.3 went to the hypervisor and xend before the xenstore and that is working properly. Thanks, Tom

On Thu, May 07, 2009 at 07:43:15AM -0700, Thomas Graves wrote:
Hello,
I am seeing an issue on libvirt 0.6.1 and 0.6.3 with xen3.3.1 where virsh list -all isn't reporting all vms that are active. It happens after you shutdown and then restart a vm. As a side note, it works fine on libvirt 0.3.3.
It appears that the domid of the vm is changed when you shutdown/restart a vm on xen. Libvirt is checking xenstore to find domids and it is finding the old ones that are marked as cancelled and not finding the higher number ones that are active/valid.
Has anyone seen this issue and have a patch for it?
It looks like the old libvirt 0.3.3 went to the hypervisor and xend before the xenstore and that is working properly.
Hum, we should still go through the hypervisor for listing, that need to be debugged :-\ thanks for raising the issues ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/
participants (2)
-
Daniel Veillard
-
Thomas Graves