On 08/11/2014 02:59 PM, Jianfeng Tang wrote: [please don't top-post on technical lists] > Unfortunately my backing store file is not in a volume. So I guess I > cannot use that method. It's very easy to create a storage pool for an arbitrary directory, at which point you can then use the virStorageVol* API on that file. The only reason we make you go through the virStoragePool* hoop rather than acting directly on files is so that we can support remote connections sanely (a volume name in relation to a pool is unambiguous, whereas a file name is ambiguous on whether it is on the client's machine or the server's machine). -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users