On 05/31/2012 12:33 AM, Onkar wrote:
Hello All,
Any idea on this issue ?
Regards,
Onkar
-------- Forwarded Message --------
From: Onkar <kernzap(a)gmail.com>
To: libvir-list <libvir-list(a)redhat.com>
Subject: error: this function is not supported by the connection
driver : virConnectNumOfStoragePool
Date: Wed, 30 May 2012 21:29:42 +0530
Hello,
I configured libvirt like this
./configure --prefix=/ --exec-prefix=/usr/ --libdir=/usr/lib64/
--with-storage-dir --with-storage-dir --with-storage-dir
--with-storage-dir --with-storage-dir --with-storage-dir
--with-storage-dir --with-storage-dir --with-qemu --with-libvirtd
--with-selinux --with-network --with-libblkid
That's a lot of redundant --with-storage-dir options.
Generally, the error message you are seeing implies that you built
without the proper prerequisites for the function that you are trying to
call; perhaps it would help if you pasted the output of:
$ sed -n '/Configuration summary/,/Cache/p' config.log
$ virsh uri
$ virsh version --daemon
$ virsh --version=long
which in turn may help us figure out which *-devel packages you were
missing when you did your self-build, as needed in order to enable that
function.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org