On Wed, 2007-03-14 at 11:29 +0000, Daniel P. Berrange wrote:
On Wed, Mar 14, 2007 at 09:17:37AM +0000, Richard W.M. Jones wrote:
> Should libvirt's C API use/expose libparted structures
directly?
> (And how would this affect the remote case?)
I'd say definitely not expose libpartd via libvirt APIs. I view libparted
as an internal implementation detail. We're not seeking to turn libvirt
into a general purpose parititioning tool, but rather just providing a
minimal set of APIs for enumerating, creating and assigning virtual disks
to machines. Such an API would be operating at a more abstract higher
level than the libparted API, so exposing libparted would be a mistake in
this respect.
I still haven't gone off the notion of a virtual storage pool :-)
https://www.redhat.com/archives/libvir-list/2007-February/msg00057.html
Cheers,
Mark.