virsh iface-list error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

Facing below error while trying to access the iface-list.

# virsh iface-list
error: Failed to list active interfaces
error: this function is not supported by the connection driver: virConnectNumOfInterfaces


root@kvm-1:/usr/local/src/libvirt# virsh list
 Id    Name                           State
----------------------------------------------------
 1     vm1                            running




After some finding, i saw it require me to build libvirt with --with-netcf. I tried that too but still facing the same problem.

Here are the steps perform on Ubuntu 1204 (64 bit) + qemu KVM.

# git clone git://libvirt.org/libvirt.git
# ./autogen.sh --prefix=/usr --with-qemu --with-init-script=upstart --with-yajl --with-netcf --with-network --with-init-script=upstart --with-libvirtd
# make
# make install
# /usr/sbin/libvirtd &
# /usr/sbin/dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-override


Pl. let me know what could be the problem?

Thanks
Arun

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux