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

Jim Fehlig jfehlig at suse.com
Mon Sep 26 21:53:01 UTC 2016


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-libxenlight-toolstack/

> 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




More information about the libvir-list mailing list