Commit Graph

18 Commits

Author SHA1 Message Date
Ryan McCabe
60800fe973 Factor out common libvirt code so that it can be reused by multiple backends 2017-05-24 23:18:18 -04:00
Ryan McCabe
0bc561ca86 Bump the versions of the libvirt and checkpoint plugins 2017-05-22 14:16:06 -04:00
Yevheniy Demchenko
dd16e370b4 Resolves serveral problems in checkpoint plugin, making it functional. 2016-04-25 20:12:53 +02:00
Ryan McCabe
0de5dd3ac9 fence_virtd: Return success if a domain exists but is already off.
Return success if a domain exists but is already off.

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2012-10-26 18:14:45 -04:00
Ryan McCabe
98e332e243 fence_virt: Return failure for nonexistent domains
Return failure instead of success if a user attempts an operation
on a domain that does not exist.

Resolves: rhbz#853927
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2012-10-08 10:53:13 -04:00
Lon Hohberger
1b6f7975b6 Handle return value from virDomainGetInfo
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2011-09-20 11:15:34 -04:00
Lon Hohberger
cb64c8c89f Fix input parsing to allow domain again
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2011-06-28 17:09:02 -04:00
Lon Hohberger
612d943631 High: Fix UUID lookups in checkpoint backend
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2011-06-27 12:38:32 -04:00
Lon Hohberger
30481d4cc9 Return 2 for 'off' like other fencing agents
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-15 08:06:34 -05:00
Lon Hohberger
2edeb6dfe8 Allow use of static mappings w/ mcast listener
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-14 13:38:37 -05:00
Lon Hohberger
2635e075b9 Pass source VM UUID (if known) to backend
Some backends (not yet implemented) which talk to management
layers will have mappings for what VMs can control what other
VMs.  So, the source VM UUID of the original request needs to
be sent along with the target VM UUID to the management layer
for arbitration.

Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-13 13:52:55 -05:00
Lon Hohberger
22a2dd65f3 Clean up some configuration plugin information
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
2010-01-04 14:12:21 -05:00
root
4d7839abce Hostlist functionality for libvirt, libvirt-qpid
Signed-off-by: root <lon@users.sourceforge.net>
2009-12-07 12:55:48 -05:00
Lon Hohberger
76331b0c3c Make cluster mode plugin work
* Need to fix cpg_get_ids() - it is segfaulting
* Need to reconcile "in-cluster" vs "fenced"
* Message routing works.  It doesn't matter which node
  gets the fence request - fence requests are handled
  after being distributed by cpg.
* This makes fence_virtd 99% behavior-like compared to
  fence_xvmd

Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-16 20:07:46 -04:00
Lon Hohberger
64d0f596f6 Clean up modular build
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 15:17:14 -04:00
Lon Hohberger
f796c64fc3 Minor build cleanups
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 13:27:03 -04:00
Lon Hohberger
906b0f62b9 Initial port to autoconf
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 11:25:02 -04:00
Lon Hohberger
2ecd68297f Add checkpoint.c stub functions
Signed-off-by: Lon Hohberger <lhh@redhat.com>
2009-09-15 10:29:08 -04:00