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