Description of problem: virsh list doesn't list all domains. Specifically, all domains not created through virsh aren't listed. This includes dom0, which is created by the hypervisor at startup, and other domains created with xl. Version-Release number of selected component (if applicable): libvirt 1.2.9, Xen 4.4.1 How reproducible: "virsh list" on a xen dom0 with the xl toolstack configured. Steps to Reproduce: Using the xl toolstack (preferred since Xen 4.1, only toolstack since Xen 4.5) Actual results: Only virsh/libvirt-created doms are shown Expected results: see all domains Additional info: Apparently by design, as a blog post of the xenlight driver creator suggests. The driver really should get its information from the hypervisor and the toolstack, not use some cached data which may be outdated for many reasons.
Can you link to the blogpost you mention?
https://blog.xenproject.org/2014/01/17/libvirt-support-for-xens-new-libxenlight-toolstack/
Thank you Andreas. Indeed it sounds like this was a deliberate design decision though Jim doesn't elaborate in his blog post. Most of the xen devs don't follow this tracker so you won't get much of a response here unfortunately... my guess is this bug is WONTFIX from their end. I suggest mailing libvir-list and ccing jfehlig asking about the design decision and if it's ever going to change. If so then we can consider re-opening this bug