This adds a bunch of new virsh commands to expose all the capabilities of
the storage APIs
For dealing with storage pools:
pool-autostart autostart a pool
pool-create create a pool from an XML file
pool-define define (but don't start) a pool from an XML file
pool-destroy
This provides the implementation of the remote driver client end. In the same
way
as the network APIs, all the storage API calls have to go to server, since the
APIs have state to maintain. So things are setup such that no matter what
hypervisor
is being used, this remote driver will provide the
This patch defines the internal driver API for the storage API calls.
It also provides the cache implementation for the virStoragePoolPtr
and virStorageVolPtr objects. The virStorageVolPtr object is a little
different in that it doesn't reference the virConnectPtr object
directly. Instead it points
This patch adds a public header file defining the application facing contract
for the storage APIs.
b/include/libvirt/storage.h | 215 +++
include/libvirt/libvirt.h|1
include/libvirt/libvirt.h.in |1
src/libvirt_sym.version | 39 +++
Since the previous discussions didn't really end up anywhere conclusive I
decided
it would be better to have a crack at getting some working code to illustrate my
ideas. Thus, the following series of 7 patches provide an implementation of
storage
APIs which follow the scheme outlined in the pre