[libvirt] [PATCH v3 04/13] security_manager: Rework metadata locking