[libvirt] [PATCH 1/8] Fix up the locking in the snapshot code.