[Libvir] Proposal for the storage API (for discussion only)
Richard W.M. Jones
rjones at redhat.com
Thu Oct 18 17:11:48 UTC 2007
This is an outline for the storage API, for discussion only. It is
mostly unimplemented, but presented as a kind of "literate patch", so
you can read the API calls and how they could be implemented.
I've tried to follow as far as possible operations which are needed in
order to make virt-install / virt-manager work in the remote case, and
also to support discovery and creation of partitions / LVs / iSCSI LUNs.
The new API calls are:
virStorageFileLocations
- returns a list of locations which can be used
for creating file-backed guests
virStorageFileStat
virStorageFileStatVFS
virStorageCreateFile
- for creating file-backed guest storage
virStorageListGroups
virStorageCreateVolume
- for discovering and creating partitions, LVs, LUNs, &c.
Rich.
--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-storage-1.patch
Type: text/x-patch
Size: 13844 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20071018/49de0785/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20071018/49de0785/attachment-0003.bin>
More information about the libvir-list
mailing list