[libvirt] [PATCH v3 22/28] security_manager: Introduce metadata locking APIs