Re: [libvirt] RFC [2/3]: The lock manager plugin driver API

2010-09-13 Thread Daniel P. Berrange
On Fri, Sep 10, 2010 at 02:01:16PM -0600, Eric Blake wrote: > On 09/10/2010 10:00 AM, Daniel P. Berrange wrote: > > > >typedef struct _virLockManagerDriver virLockManagerDriver; > >typedef virLockManagerDriver *virLockManagerDriverPtr; > > > >/* Which callbacks are supported */ > >typedef enum { >

Re: [libvirt] RFC [2/3]: The lock manager plugin driver API

2010-09-10 Thread Eric Blake
On 09/10/2010 10:00 AM, Daniel P. Berrange wrote: typedef struct _virLockManagerDriver virLockManagerDriver; typedef virLockManagerDriver *virLockManagerDriverPtr; /* Which callbacks are supported */ typedef enum { VIR_LOCK_MANAGER_DRIVER_RESOURCES = (1<< 0), VIR_LOCK_MANAGER_DRIVER_

Re: [libvirt] RFC [2/3]: The lock manager plugin driver API

2010-09-10 Thread Daniel P. Berrange
typedef struct _virLockManagerDriver virLockManagerDriver; typedef virLockManagerDriver *virLockManagerDriverPtr; /* Which callbacks are supported */ typedef enum { VIR_LOCK_MANAGER_DRIVER_RESOURCES = (1 << 0), VIR_LOCK_MANAGER_DRIVER_MIGRATE = (1 << 0), VIR_LOCK_MANAGER_DRIVER_HOTP