[libvirt] virsh can list ("virsh list" is empty) Guest domains created by "xl create DomU"

Hi, We use Centos 7 Xen hypervisor, start VMs with xl toolkit (libxl), but we can't list with "virsh list" command DomUs created with "xl create ..." command. Can anybody, please, explain why this happens? Why does it work like this? It worked before with "libvirt+xm" toolkits, but xm toolkit was deprecated for latest Xen sortware on Centos 7. Can this be fixed ever? Thank you. Example: [root@c7xen2 ~]# xl create /onapp/config/w62tp7db1txk12 ... [root@c7xen2 ~]# xl list Name ID Mem VCPUs State Time(s) Domain-0 0 400 2 r----- 102.0 w62tp7db1txk12 1 512 1 -b---- 2.6 [root@c7xen2 ~]# virsh list Id Name State ---------------------------------------------------- 0 Domain-0 running [root@c7xen2 ~]#

On 09/26/2016 04:44 AM, Volo M. wrote:
Hi,
We use Centos 7 Xen hypervisor, start VMs with xl toolkit (libxl), but we can't list with "virsh list" command DomUs created with "xl create ..." command. Can anybody, please, explain why this happens? Why does it work like this?
For an explanation, start reading at paragraph 7 in this old blog post https://jfehlig.wordpress.com/2014/01/05/libvirt-support-for-xens-new-libxen...
It worked before with "libvirt+xm" toolkits, but xm toolkit was deprecated for latest Xen sortware on Centos 7. Can this be fixed ever?
No, but it would be possible to add functionality similar to 'virsh qemu-attach' in the libvirt libxl driver. Regards, Jim
participants (2)
-
Jim Fehlig
-
Volo M.