Re: [libvirt] lock manager and libguestfs use (was: Re: RFC [2/3]: The lock manager plugin driver API)

2010-11-10 Thread Daniel P. Berrange
On Wed, Nov 10, 2010 at 05:29:28PM +, Richard W.M. Jones wrote: > On Wed, Nov 10, 2010 at 04:42:01PM +, Daniel P. Berrange wrote: > > On Wed, Nov 10, 2010 at 04:17:13PM +, Richard W.M. Jones wrote: > > > On Wed, Nov 10, 2010 at 03:52:49PM +, Daniel P. Berrange wrote: > > > > The loa

Re: [libvirt] lock manager and libguestfs use (was: Re: RFC [2/3]: The lock manager plugin driver API)

2010-11-10 Thread Richard W.M. Jones
On Wed, Nov 10, 2010 at 04:42:01PM +, Daniel P. Berrange wrote: > On Wed, Nov 10, 2010 at 04:17:13PM +, Richard W.M. Jones wrote: > > On Wed, Nov 10, 2010 at 03:52:49PM +, Daniel P. Berrange wrote: > > > The load_drv() method there is to allow the plugin implementation > > > to block it

Re: [libvirt] lock manager and libguestfs use (was: Re: RFC [2/3]: The lock manager plugin driver API)

2010-11-10 Thread Daniel P. Berrange
On Wed, Nov 10, 2010 at 04:17:13PM +, Richard W.M. Jones wrote: > On Wed, Nov 10, 2010 at 03:52:49PM +, Daniel P. Berrange wrote: > > The load_drv() method there is to allow the plugin implementation > > to block its use with a libvirtd that is too old. eg, say we add > > a new API 'foo', a

Re: [libvirt] lock manager and libguestfs use (was: Re: RFC [2/3]: The lock manager plugin driver API)

2010-11-10 Thread Richard W.M. Jones
On Wed, Nov 10, 2010 at 03:52:49PM +, Daniel P. Berrange wrote: > The load_drv() method there is to allow the plugin implementation > to block its use with a libvirtd that is too old. eg, say we add > a new API 'foo', and the plugin implements that API. It wants to > block its use in any libvir

Re: [libvirt] lock manager and libguestfs use (was: Re: RFC [2/3]: The lock manager plugin driver API)

2010-11-10 Thread Daniel P. Berrange
On Wed, Nov 10, 2010 at 03:01:01PM +, Richard W.M. Jones wrote: > [Resurrecting this old thread which has just been brought to my attention] > > On Fri, Sep 10, 2010 at 05:00:52PM +0100, Daniel P. Berrange wrote: > > > > typedef struct _virLockManagerDriver virLockManagerDriver; > > typedef v

[libvirt] lock manager and libguestfs use (was: Re: RFC [2/3]: The lock manager plugin driver API)

2010-11-10 Thread Richard W.M. Jones
[Resurrecting this old thread which has just been brought to my attention] On Fri, Sep 10, 2010 at 05:00:52PM +0100, Daniel P. Berrange wrote: > > typedef struct _virLockManagerDriver virLockManagerDriver; > typedef virLockManagerDriver *virLockManagerDriverPtr; > > /* Which callbacks are suppor