[libvirt] [PATCH] storage pool discovery

Stefan de Konink skinkie at xs4all.nl
Fri Aug 1 10:01:10 UTC 2008


On Fri, 1 Aug 2008, Daniel P. Berrange wrote:

> On Fri, Aug 01, 2008 at 11:46:14AM +0200, Stefan de Konink wrote:
> > Daniel,
> >
> > When this gets in; would it get more easy to lookup a file->storagepool.
> > In order to make the alternative configuration I proposed for
> > domains working? (Basically providing pool/volume instead of filename)
>
> I don't think it'll make any significant difference - we can do the
> alternate XML syntax you proposed already. I think it might be nice
> to use a different approach to the Xen impl of it though. Previously
> have had done the poool/volume -> filename conversion in libvirt before
> passing the data to XenD. This means that when you don't the XML you
> get the filename instead of pool/volume details, and doesn't deal with
> potentially different filenames upon migration. So I'd like to see if
> its possible to write a custom script for xen to go in /etc/xen/scripts.
> So we can pass in a pool/volume to Xend and have it auto-lookup the
> file at time of hotplug.

As you know I wrote such thing for iSCSI/Solaris, iSCSI/Netapp so... if
you want such script I can fabricate something, maybe it would be
interesting to not create a script, but instead a binary that links to
libvirt and is able to lookup the connection url and creates the xenstore
stuff.

But as you look at it now, this gets very close to what XenD is doing, so
if we implement it in this way, why not do everything that is required ;)


Stefan




More information about the libvir-list mailing list