]> git.ipfire.org Git - thirdparty/libvirt.git/commit
sanlock: don't fail with unregistered domains
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 12 May 2014 09:38:47 +0000 (11:38 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 13 May 2014 08:51:43 +0000 (10:51 +0200)
commitda879e592142291709f7b95b9218d32bb1869d1a
tree6f79bcf73f853107cad9893ded53adabf114b3c7
parentd99057423c4c9310cfc324d73e201eeb83c7d6b8
sanlock: don't fail with unregistered domains

When a domain was started without registration in sanlock, but libvirt
was restarted after that, most of the operations failed due to
contacting sanlock about that process.  E.g. migration could not be
performed because the locks couldn't be released (or inquired before a
release).

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1088034

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/locking/lock_driver_sanlock.c