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

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

 



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@xxxxxxxxx> 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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]