[libvirt] Re: virStorageVolLookupByPath fails with "libvir: Storage error : invalid storage volume pointer in no storage vol with matching path"

Francesco Latino francesco.latino at gmail.com
Tue May 19 17:49:04 UTC 2009


Solved by myself -> I forget to define a storage pool !

Thanks a lot anyway !

On Tue, May 19, 2009 at 6:31 PM, Francesco Latino <
francesco.latino at gmail.com> wrote:

> Hello,
>
> I have a running KVM virtual guest "demo1" with a defined disk at path
> /guests/mydisk.img.
>
> But when I run
>
> conn = virConnectOpenReadOnly(NULL);
> path = "/guests/mydisk.img";
> virStorageVolLookupByPath(conn,path);
>
> I got the error
> "
> ibvir: Storage error : invalid storage volume pointer in no storage vol
> with matching path
> "
>
> what am I missing ?
> Thanks,
> Francesco
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090519/88a2a9ea/attachment-0001.htm>


More information about the libvir-list mailing list