Hi,
I am trying to get virsh/libvirt to work with my Xen 4.4.2 converted to running XL toolstack. As shown below when I do a simple virsh list I get blank results though I have two guest VMs running. Libxl driver pkg is installed.
What do I need to do to get virsh/libvirt working with Xen4 XL?
Any help is very appreciated.
--
[root@xenhost1 ~]# xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 1024 4 r----- 997.8
vm102 1 2047 1 -b---- 120.9
vm103 2 2047 1 r----- 1731.0
[root@xenhost1 ~]# virsh list
Id Name State
----------------------------------------------------
[root@xenhost1 ~]#
[root@xenhost1 ~]# virsh -c xen:/// list
Id Name State
----------------------------------------------------
[root@xenhost1 ~]#
--
[root@xenhost1 ~]# xl info
host : xenhost1.xxxxxxxxx.us
release : 3.10.68-11.el6.centos.alt.x86_64
version : #1 SMP Fri Feb 6 10:40:16 CST 2015
machine : x86_64
nr_cpus : 4
max_cpu_id : 7
nr_nodes : 1
cores_per_socket : 2
threads_per_core : 1
cpu_mhz : 2999
hw_caps : bfebfbff:20100800:00000000:00000100:0000e4bd:00000000:00000001:00000000
virt_caps : hvm
total_memory : 32765
free_memory : 27268
sharing_freed_memory : 0
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 4
xen_extra : .2-4.el6
xen_version : 4.4.2-4.el6
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : Thu Apr 23 15:06:13 2015 +0100 git:7e7c01e-dirty
xen_commandline : dom0_mem=1024M,max:1536M loglvl=all guest_loglvl=all
cc_compiler : gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
cc_compile_by : mockbuild
cc_compile_domain : centos.org
cc_compile_date : Thu Jun 11 12:16:40 UTC 2015
xend_config_format : 4
--
[root@xenhost1 ~]# rpm -qa|grep libvirt
libvirt-daemon-config-nwfilter-1.2.10-3.el6.x86_64
libvirt-daemon-driver-interface-1.2.10-3.el6.x86_64
libvirt-daemon-driver-network-1.2.10-3.el6.x86_64
libvirt-1.2.10-3.el6.x86_64
libvirt-client-1.2.10-3.el6.x86_64
libvirt-daemon-driver-nwfilter-1.2.10-3.el6.x86_64
libvirt-daemon-driver-libxl-1.2.10-3.el6.x86_64
libvirt-daemon-driver-storage-1.2.10-3.el6.x86_64
libvirt-daemon-driver-secret-1.2.10-3.el6.x86_64
libvirt-daemon-driver-qemu-1.2.10-3.el6.x86_64
libvirt-daemon-driver-lxc-1.2.10-3.el6.x86_64
libvirt-daemon-1.2.10-3.el6.x86_64
libvirt-daemon-driver-xen-1.2.10-3.el6.x86_64
libvirt-daemon-driver-nodedev-1.2.10-3.el6.x86_64
libvirt-daemon-config-network-1.2.10-3.el6.x86_64
[root@xenhost1 ~]#